File tree Expand file tree Collapse file tree 2 files changed +25
-11
lines changed
Expand file tree Collapse file tree 2 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 99 - ' v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
1010 - ' v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
1111
12+ permissions :
13+ id-token : write
14+ contents : read
15+
1216jobs :
1317 build :
1418
@@ -26,21 +30,31 @@ jobs:
2630 - uses : actions/checkout@v2
2731 with :
2832 fetch-depth : 1
29- - name : Use Node.js 18.x
30- uses : actions/setup-node@v1
33+
34+ - uses : actions/setup-node@v4
3135 with :
32- node-version : 18.x
36+ node-version : ' 20'
37+ registry-url : ' https://registry.npmjs.org'
3338
34- - name : Configure NPM token
35- env :
36- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
37- run : |
38- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
39+ # - name: Use Node.js 18.x
40+ # uses: actions/setup-node@v1
41+ # with:
42+ # node-version: 18.x
43+
44+ # - name: Configure NPM token
45+ # env:
46+ # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
47+ # run: |
48+ # npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
3949
4050 - name : yarn install
4151 run : |
4252 yarn install
4353
54+ # Ensure npm 11.5.1 or later is installed
55+ - name : Update npm
56+ run : npm install -g npm@latest
57+
4458 - name : Publish to NPM repository
4559 run : |
4660 npm publish
Original file line number Diff line number Diff line change 1- {
1+ {
22 "version" : " 4.11.7" ,
33 "name" : " dbgate-query-splitter" ,
44 "main" : " lib/index.js" ,
55 "typings" : " lib/index.d.ts" ,
66 "description" : " SQL Query splitter for verious database engines" ,
7- "homepage" : " https://dbgate.org " ,
7+ "homepage" : " https://www. dbgate.io " ,
88 "repository" : {
99 "type" : " git" ,
10- "url" : " https://github.com/dbgate/dbgate-query-spliiter "
10+ "url" : " https://github.com/dbgate/dbgate-query-splitter "
1111 },
1212 "author" : " Jan Prochazka" ,
1313 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments