-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (30 loc) · 931 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
name: Build Extensions
on:
push:
branches:
- 'hotfix/**'
- 'feature/**'
pull_request:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
browser: [chrome, firefox, edge]
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 20
- name: Install dependencies
run: yarn
- name: Build And Package Extensions
run: yarn build --zip --target=${{ matrix.browser }}-mv3
# upload to github artifacts for each browser with matrix
- name: Upload to GitHub Artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.browser }}-mv3.zip
path: build/