-
Notifications
You must be signed in to change notification settings - Fork 37
39 lines (37 loc) · 988 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 build:chrome
- name: Upload Chrome version
uses: actions/upload-artifact@v4
with:
name: chrome
path: |
dist/
stats.html
- name: Build Firefox version
run: yarn build:firefox
- name: Upload Firefox version
uses: actions/upload-artifact@v4
with:
name: firefox
path: |
dist/
stats.html
- name: Upload Zip version
uses: actions/upload-artifact@v4
with:
name: zip-files
path: |
dist-zip/