File tree Expand file tree Collapse file tree 2 files changed +36
-7
lines changed
Expand file tree Collapse file tree 2 files changed +36
-7
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' v*'
7- release :
8- types :
9- - published
107
118jobs :
129 # build-and-test:
1310 # uses: ./.github/workflows/main.yml
1411
1512 publish :
1613 # needs: build-and-test
17- uses :
iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected] 18- secrets :
19- npm-token : ${{ secrets.NPM_TOKEN }}
14+ # uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected] 15+ # secrets:
16+ # npm-token: ${{ secrets.NPM_TOKEN }}
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : read
20+ packages : write
21+ id-token : write
22+ steps :
23+ - name : Ensure npm-token
24+ run : |
25+ if [ -n "${{ secrets.NPM_TOKEN }}" ]; then
26+ echo "`npm-token` secret is set"
27+ else
28+ echo "Missing `npm-token` secret (required unless `dry-run: true`)"
29+ exit 1
30+ fi
31+
32+ - uses : actions/checkout@v4
33+
34+ - uses : actions/setup-node@v4
35+ with :
36+ node-version : 20
37+ # scope: '@iexec'
38+
39+ - name : Install dependencies
40+ run : npm ci
41+
42+ - name : Run build
43+ run : npm run build
44+
45+ - name : Publish package
46+ env :
47+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
48+ run : npm publish --access public
Original file line number Diff line number Diff line change 11{
22 "name" : " @iexec/poco" ,
3- "version" : " 5.6.0-rc1 " ,
3+ "version" : " 5.6.0-rc3 " ,
44 "description" : " " ,
55 "author" : " iExec" ,
66 "license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments