Skip to content
Merged
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
12 changes: 4 additions & 8 deletions .github/workflows/node-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
permissions:
contents: write
id-token: write
'on':
on:
workflow_dispatch:
inputs:
bump:
Expand Down Expand Up @@ -45,6 +45,7 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'

- name: Enable Corepack
run: |
Expand Down Expand Up @@ -83,12 +84,7 @@ jobs:
yarn copy-version

- name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --access public
env:
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}
run: npm publish --provenance
Comment thread
barjin marked this conversation as resolved.

- name: Commit changes
id: commit
Expand All @@ -98,7 +94,7 @@ jobs:
author_email: noreply@apify.com
message: "chore(js-release): Update package version [skip ci]"
tag: "js-${{ steps.get-new-version.outputs.TARGET_VERSION }}"

changelog:
name: Generate changelog
needs: [publish]
Expand Down
Loading