File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 11name : Publish Package to npmjs
22on :
3- push :
4- branches :
5- - main
6- # release:
7- # types: [created]
3+ release :
4+ types : [created]
85jobs :
96 build :
107 runs-on : ubuntu-latest
@@ -13,17 +10,17 @@ jobs:
1310 id-token : write
1411 steps :
1512 - uses : actions/checkout@v4
16- # Setup .npmrc file to publish to npm
1713
18- # - name: Install tinygo
19- # Until 0.38.0 release, I won't rebuild the tinygo binary
14+ # - name: Install tinygo
15+ # Until 0.38.0 release, I won't rebuild the tinygo binary
2016 - uses : actions/setup-node@v4
2117 with :
2218 node-version : ' 20.x'
2319 registry-url : ' https://registry.npmjs.org'
2420 - run : |
2521 cd js
2622 npm ci
23+ npm run build-js
2724 npm publish --provenance --access public
2825 env:
2926 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @reteps/dockerfmt" ,
3- "version" : " 0.2.0-alpha " ,
3+ "version" : " 0.2.0" ,
44 "type" : " module" ,
55 "scripts" : {
66 "test" : " echo \" Error: no test specified\" && exit 1" ,
You can’t perform that action at this time.
0 commit comments