This commit is contained in:
Nathan Bierema 2022-11-07 07:54:13 -05:00
parent cd6b0c414f
commit 2fb25fbcf5
2 changed files with 21 additions and 11 deletions

View File

@ -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/

View File

@ -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/