File tree Expand file tree Collapse file tree 5 files changed +61
-110
lines changed Expand file tree Collapse file tree 5 files changed +61
-110
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,14 +21,20 @@ jobs:
21
21
with :
22
22
fetch-depth : 0
23
23
persist-credentials : false
24
+
24
25
- name : Setup Node.js
25
26
uses : actions/setup-node@v3
26
27
with :
27
28
node-version : ' lts/*'
29
+ registry-url : ' https://registry.npmjs.org'
30
+ cache : ' npm'
31
+
28
32
- name : Install dependencies
29
- run : npm clean-install
33
+ run : npm clean-install --ignore-scripts
34
+
30
35
- name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
31
36
run : npm audit signatures
37
+
32
38
- name : Release
33
39
env :
34
40
GITHUB_TOKEN : ${{ secrets.SNGULARBOT_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Verify changes
2
+
3
+ on : pull_request
4
+
5
+ permissions :
6
+ contents : read # for checkout
7
+
8
+ jobs :
9
+ verify :
10
+ name : Verify changes
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ with :
16
+ fetch-depth : 0
17
+ persist-credentials : false
18
+
19
+ - name : Setup Node.js
20
+ uses : actions/setup-node@v3
21
+ with :
22
+ node-version : ' lts/*'
23
+ registry-url : ' https://registry.npmjs.org'
24
+
25
+ - name : Install Dependencies
26
+ run : npm install --ci
27
+
28
+ - name : Lint
29
+ run : npm run lint
30
+ tests :
31
+ name : Tests
32
+ runs-on : ubuntu-latest
33
+ strategy :
34
+ matrix :
35
+ node-version : [18, 20, 'latest']
36
+ os : [ubuntu-latest, macos-latest, windows-latest]
37
+ steps :
38
+ - name : Checkout
39
+ uses : actions/checkout@v3
40
+ with :
41
+ fetch-depth : 0
42
+
43
+ - name : Setup Node.js
44
+ uses : actions/setup-node@v3
45
+ with :
46
+ node-version : ${{ matrix.node-version }}
47
+ registry-url : ' https://registry.npmjs.org'
48
+ cache : ' npm'
49
+
50
+ - name : Install Dependencies
51
+ run : npm install --ci
52
+
53
+ - name : Test
54
+ run : npm run test
You can’t perform that action at this time.
0 commit comments