diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e54310dc..2e34147c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,13 +22,23 @@ jobs: cache: 'pnpm' - name: Install dependencies run: pnpm install - - name: Check formatting - run: pnpm run format:check - name: Build - run: pnpm exec nx affected --target=build --parallel=3 - - name: Lint - run: pnpm exec nx affected --target=lint --parallel=3 - - name: Test - uses: GabrielBB/xvfb-action@v1 + run: pnpm build:all + + - name: Archive Chrome Extension + uses: actions/upload-artifact@v3 with: - run: pnpm exec nx affected --target=test --parallel=3 + name: chrome + path: extension/chrome/dist/ + + - name: Archive Edge Extension + uses: actions/upload-artifact@v3 + with: + name: edge + path: extension/edge/dist/ + + - name: Archive Firefox Extension + uses: actions/upload-artifact@v3 + with: + name: firefox + path: extension/firefox/dist/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70ae909c..153872f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,16 +43,16 @@ jobs: uses: actions/upload-artifact@v3 with: name: chrome - path: extension/chrome/dist + path: extension/chrome/dist/ - name: Archive Edge Extension uses: actions/upload-artifact@v3 with: name: edge - path: extension/edge/dist + path: extension/edge/dist/ - name: Archive Firefox Extension uses: actions/upload-artifact@v3 with: name: firefox - path: extension/firefox/dist + path: extension/firefox/dist/