This repository was archived by the owner on Oct 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1717 token : ${{ steps.get-token.outputs.token }}
1818 release-type : node
1919 package-name : ' netlify'
20+ - uses : actions/checkout@v2
21+ if : ${{ steps.release.outputs.release_created }}
22+ - uses : actions/setup-node@v2
23+ with :
24+ node-version : ' 15'
25+ registry-url : ' https://registry.npmjs.org'
26+ if : ${{ steps.release.outputs.release_created }}
27+ - run : npm publish
28+ if : ${{ steps.release.outputs.release_created }}
29+ env :
30+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change @@ -42,10 +42,7 @@ Projects that depend heavily on this client that should be taken into considerat
4242
4343## Releasing
4444
45- 1 . Merge the release PR
46- 2 . Switch to the default branch ` git checkout main `
47- 3 . Pull latest changes ` git pull `
48- 4 . Publish the package ` npm publish `
45+ Merge the release PR
4946
5047## License
5148
Original file line number Diff line number Diff line change 1515 "./src/deploy/index.js" : " ./src/deploy/index.browser.js"
1616 },
1717 "scripts" : {
18- "prepublishOnly" : " npm run build" ,
18+ "prepublishOnly" : " npm ci && run-s test build" ,
1919 "test" : " npm run format && npm run test:dev" ,
2020 "format" : " run-s format:check-fix:*" ,
2121 "format:lint" : " eslint --ignore-path .gitignore --fix --cache --format=codeframe --max-warnings=0 \" src/**/*.js\" " ,
You can’t perform that action at this time.
0 commit comments