File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1313jobs :
1414 test :
1515 name : Run Dashcore lib tests
16- runs-on : ubuntu-20.04
16+ runs-on : ubuntu-latest
1717 timeout-minutes : 10
1818 steps :
19- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v4
2020
2121 - uses : actions/setup-node@v2
2222 with :
23- node-version : ' 16 '
23+ node-version : ' 20 '
2424
2525 - name : Enable NPM cache
26- uses : actions/cache@v2
26+ uses : actions/cache@v4
2727 with :
2828 path : ' ~/.npm'
2929 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -41,19 +41,19 @@ jobs:
4141
4242 release :
4343 name : Release NPM package
44- runs-on : ubuntu-20.04
44+ runs-on : ubuntu-latest
4545 needs : test
4646 if : ${{ github.event_name == 'release' }}
4747 steps :
48- - uses : actions/checkout@v2
48+ - uses : actions/checkout@v4
4949
5050 - name : Check package version matches tag
51515252 env :
5353 TAG_PREFIX : refs/tags/v
5454
5555 - name : Enable NPM cache
56- uses : actions/cache@v2
56+ uses : actions/cache@v4
5757 with :
5858 path : ' ~/.npm'
5959 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
6464 run : npm ci
6565
6666 - name : Set release tag
67- uses : actions/github-script@v3
67+ uses : actions/github-script@v7
6868 id : tag
6969 with :
7070 result-encoding : string
7474 return (tag.includes('dev') ? `${major}.${minor}-dev` : 'latest');
7575
7676 - name : Publish NPM package
77- uses : JS-DevTools/npm-publish@v1
77+ uses : JS-DevTools/npm-publish@v3
7878 with :
7979 token : ${{ secrets.NPM_TOKEN }}
8080 tag : ${{ steps.tag.outputs.result }}
You can’t perform that action at this time.
0 commit comments