File tree Expand file tree Collapse file tree 4 files changed +11
-16
lines changed
Expand file tree Collapse file tree 4 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -64,19 +64,10 @@ jobs:
6464 needs : create-github-release
6565 steps :
6666 - uses : actions/checkout@v4
67- - uses : flood-io/is-published-on-npm@8478347e2650eb228d303975415458183d0a37e4
68- id : is-published
69- - run : echo "This version is already published on NPM"
70- if : ${{ steps.is-published.outputs.published == 'true' }}
71- - uses : actions/setup-node@v2
72- if : ${{ steps.is-published.outputs.published == 'false' }}
67+ - uses : actions/setup-node@v4
7368 with :
7469 node-version : " 14"
75- registry-url : https://registry.npmjs.org/
7670 - run : npm install
77- if : ${{ steps.is-published.outputs.published == 'false' }}
7871 - run : npm publish --access public
79- if : ${{ steps.is-published.outputs.published == 'false' }}
8072 env :
8173 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
82- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4
15+ with :
16+ token : ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
17+ fetch-depth : 0
1518 - name : Get current version
1619 shell : bash
1720 run : |
@@ -26,11 +29,12 @@ jobs:
2629 id : bump
2730 with :
2831 current_version : ${{ env.CURRENT_VERSION }}
29- - uses : actions/setup-node@v2
32+ token : ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
33+ - uses : actions/setup-node@v4
3034 with :
31- node-version : " 14 "
35+ node-version : " 20 "
3236 - run : npm install
33- - name : Push
37+ - name : Commit and push version bump
3438 shell : bash
3539 run : |
3640 echo "$(jq '.version = "${{ steps.bump.outputs.new_version }}"' package.json)" > package.json
Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 5.3.0
3+ ## 5.3.1
44
5- - [ CHANGED] Describe your change here. Look at CHANGELOG.md to see the format .
5+ - [ CHANGED] Fix Github Actions .
66
77## 5.2.0
88
Original file line number Diff line number Diff line change 11{
22 "name" : " pusher" ,
33 "description" : " Node.js client to interact with the Pusher Channels REST API" ,
4- "version" : " 5.3.0 " ,
4+ "version" : " 5.3.1 " ,
55 "author" :
" Pusher <[email protected] >" ,
66 "contributors" : [
77 {
You can’t perform that action at this time.
0 commit comments