File tree Expand file tree Collapse file tree 1 file changed +3
-36
lines changed
Expand file tree Collapse file tree 1 file changed +3
-36
lines changed Original file line number Diff line number Diff line change 1111
1212 publish :
1313 # needs: build-and-test
14- # uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected] 15- # secrets:
16- # npm-token: ${{ secrets.NPM_TOKEN }}
17- runs-on : ubuntu-latest
18- # environment: production
19- permissions :
20- contents : read
21- packages : write
22- id-token : write
23- steps :
24- - name : Ensure npm-token
25- run : |
26- if [ -n "${{ secrets.NPM_TOKEN }}" ]; then
27- echo "`npm-token` secret is set"
28- else
29- echo "Missing `npm-token` secret (required unless `dry-run: true`)"
30- exit 1
31- fi
32-
33- - uses : actions/checkout@v4
34-
35- - uses : actions/setup-node@v4
36- with :
37- node-version : 20
38- scope : ' @iexec'
39-
40- - name : Install dependencies
41- run : npm ci
42-
43- - name : Run build
44- run : npm run build
45-
46- - name : Publish package
47- env :
48- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
49- run : npm publish --access public
14+ uses :
iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected] 15+ secrets :
16+ npm-token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments