File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,25 +18,33 @@ jobs:
1818 needs : update
1919 runs-on : ubuntu-latest
2020
21+ permissions :
22+ contents : read
23+ packages : write
24+
2125 steps :
22- - uses : actions/checkout@v4
26+ - name : Checkout repository
27+ uses : actions/checkout@v5
28+
29+ - name : Setup node
30+ uses : actions/setup-node@v4
31+ with :
32+ node-version : " 24.x"
33+ registry-url : " https://npm.pkg.github.com"
2334
2435 - name : Download build artifacts
2536 uses : actions/download-artifact@v4
2637 with :
2738 name : go-binaries
2839 path : dist
2940
30- - name : Setup node
31- uses : actions/setup-node@v6
32- with :
33- registry-url : https://registry.npmjs.org
34-
3541 - name : Publish npm package
3642 run : |
3743 cp -r dist/* npm/bin/
3844 cp README.md npm/
3945 cp LICENSE npm/
4046 cd npm/
4147 npm version ${{ github.event.release.tag_name }} --no-git-tag-version
42- npm publish --access public
48+ npm publish
49+ env :
50+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
12const { execFileSync } = require ( "child_process" )
23const fs = require ( "fs" )
34const path = require ( "path" )
Original file line number Diff line number Diff line change 11{
2- "name" : " @codeshelldev/goplater-linux-x64 " ,
2+ "name" : " @codeshelldev/goplater" ,
33 "version" : " 0.0.0" ,
44 "description" : " " ,
55 "homepage" : " https://github.com/codeshelldev/goplater#readme" ,
You can’t perform that action at this time.
0 commit comments