File tree 2 files changed +6
-16
lines changed
2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
build :
12
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ id-token : write
16
+ packages : write
17
+ attestations : write
13
18
steps :
14
19
- uses : actions/checkout@v3
15
20
- uses : actions/setup-node@v3
16
21
with :
17
22
node-version : 16
18
23
registry-url : https://registry.npmjs.org/
19
24
20
- - name : Temp disable SSL Verification for registry.npm.taobao.org
21
- run : npm config set strict-ssl false
22
-
23
25
- run : npm install
24
26
- run : npm test
25
27
33
35
node-version : 16
34
36
registry-url : https://registry.npmjs.org/
35
37
36
- - name : Temp disable SSL Verification for registry.npm.taobao.org
37
- run : npm config set strict-ssl false
38
-
39
38
- run : npm install
40
39
41
- - name : Reenable SSL Verification for registry.npm.taobao.org
42
- run : npm config set strict-ssl true
43
-
44
40
- run : npm run build
45
41
46
42
- run : cd output/prod && npm publish
58
54
registry-url : https://npm.pkg.github.com/
59
55
scope : ' @taozhi8833998'
60
56
61
- - name : Temp disable SSL Verification for registry.npm.taobao.org
62
- run : npm config set strict-ssl false
63
-
64
57
- run : npm install
65
58
66
- - name : Reenable SSL Verification for registry.npm.taobao.org
67
- run : npm config set strict-ssl true
68
-
69
59
- name : Update package.json name
70
60
run : sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json
71
61
Original file line number Diff line number Diff line change 12
12
"**/.DS_Store" : true ,
13
13
"node_modules" : true ,
14
14
"output" : true ,
15
- "package-lock.json" : true
15
+ "package-lock.json" : false
16
16
}
17
17
}
You can’t perform that action at this time.
0 commit comments