chore: set outDir to dist #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build Chrome version | |
run: yarn zip:chrome | |
- name: Upload Chrome version | |
uses: actions/upload-artifact@v4 | |
with: | |
name: chrome | |
path: | | |
dist/chrome-mv3/ | |
stats.html | |
- name: Build Firefox version | |
run: yarn zip:firefox | |
- name: Upload Firefox version | |
uses: actions/upload-artifact@v4 | |
with: | |
name: firefox | |
path: | | |
dist/firefox-mv3/ | |
stats.html | |
- name: Upload Zip files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: zip-files | |
path: | | |
dist/*.zip |