File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ permissions :
6
+ contents : read # to fetch code (actions/checkout)
7
+
8
+ jobs :
9
+ build :
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-${{ matrix.node }}
12
+ cancel-in-progress : true
13
+
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ node :
18
+ - ' 16.14'
19
+ - ' 18'
20
+ - ' 20'
21
+ platform :
22
+ - ubuntu-latest
23
+ - windows-latest
24
+
25
+ name : ' ${{matrix.platform}} / Node.js ${{ matrix.node }}'
26
+ runs-on : ${{matrix.platform}}
27
+
28
+ steps :
29
+ - name : Checkout Commit
30
+ uses : actions/checkout@v3
31
+ - name : Install pnpm
32
+
33
+ with :
34
+ version : next-8
35
+ standalone : true
36
+ - name : Setup Node
37
+ uses : actions/setup-node@v3
38
+ with :
39
+ node-version : ${{ matrix.node }}
40
+ cache : ' pnpm'
41
+ - name : pnpm install
42
+ run : pnpm install
43
+ # - name: Audit
44
+ # run: pnpm audit
45
+ - name : run tests
46
+ run : pnpm test
You can’t perform that action at this time.
0 commit comments