Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,10 @@ jobs:
needs: create-github-release
steps:
- uses: actions/checkout@v4
- uses: flood-io/is-published-on-npm@8478347e2650eb228d303975415458183d0a37e4
id: is-published
- run: echo "This version is already published on NPM"
if: ${{ steps.is-published.outputs.published == 'true' }}
- uses: actions/setup-node@v2
if: ${{ steps.is-published.outputs.published == 'false' }}
- uses: actions/setup-node@v4
with:
node-version: "14"
registry-url: https://registry.npmjs.org/
- run: npm install
if: ${{ steps.is-published.outputs.published == 'false' }}
- run: npm publish --access public
if: ${{ steps.is-published.outputs.published == 'false' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 7 additions & 3 deletions .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
fetch-depth: 0
- name: Get current version
shell: bash
run: |
Expand All @@ -26,11 +29,12 @@ jobs:
id: bump
with:
current_version: ${{ env.CURRENT_VERSION }}
- uses: actions/setup-node@v2
token: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: "14"
node-version: "20"
- run: npm install
- name: Push
- name: Commit and push version bump
shell: bash
run: |
echo "$(jq '.version = "${{ steps.bump.outputs.new_version }}"' package.json)" > package.json
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog

## 5.3.0
## 5.3.1

- [CHANGED] Describe your change here. Look at CHANGELOG.md to see the format.
- [CHANGED] Fix Github Actions.

## 5.2.0

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pusher",
"description": "Node.js client to interact with the Pusher Channels REST API",
"version": "5.3.0",
"version": "5.3.1",
"author": "Pusher <support@pusher.com>",
"contributors": [
{
Expand Down