We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c00d66 commit 8481426Copy full SHA for 8481426
.github/workflows/ci.yml
@@ -0,0 +1,43 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [16.x, 18.x]
16
17
+ steps:
18
+ - uses: actions/checkout@v3
19
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ cache: 'npm'
25
26
+ - name: Install dependencies
27
+ run: npm ci
28
29
+ - name: Build
30
+ run: npm run build
31
32
+ - name: Test
33
+ run: npm test
34
35
+ - name: Upload build artifacts
36
+ uses: actions/upload-artifact@v3
37
38
+ name: extension-build
39
+ path: |
40
+ dist/
41
+ manifest.json
42
+ popup.html
43
+ icons/
0 commit comments