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' cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
- name: Check formatting
run: pnpm run format:check
- name: Build - name: Build
run: pnpm exec nx affected --target=build --parallel=3 run: pnpm build:all
- name: Lint
run: pnpm exec nx affected --target=lint --parallel=3 - name: Archive Chrome Extension
- name: Test uses: actions/upload-artifact@v3
uses: GabrielBB/xvfb-action@v1
with: 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 uses: actions/upload-artifact@v3
with: with:
name: chrome name: chrome
path: extension/chrome/dist path: extension/chrome/dist/
- name: Archive Edge Extension - name: Archive Edge Extension
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: edge name: edge
path: extension/edge/dist path: extension/edge/dist/
- name: Archive Firefox Extension - name: Archive Firefox Extension
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: firefox name: firefox
path: extension/firefox/dist path: extension/firefox/dist/