mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci: Add GitHub action to release @n8n/node-cli (#19644)
This commit is contained in:
11
.github/workflows/release-publish.yml
vendored
11
.github/workflows/release-publish.yml
vendored
@@ -81,7 +81,9 @@ jobs:
|
||||
key: ${{ env.BUILD_CACHE_KEY }}
|
||||
|
||||
- name: Dry-run publishing
|
||||
run: pnpm publish -r --no-git-checks --dry-run
|
||||
run: |
|
||||
pnpm --filter n8n publish --no-git-checks --dry-run
|
||||
pnpm publish -r --filter '!n8n' --no-git-checks --dry-run
|
||||
|
||||
- name: Pre publishing changes
|
||||
run: |
|
||||
@@ -91,8 +93,11 @@ jobs:
|
||||
cp README.md packages/cli/README.md
|
||||
sed -i "s/default: 'dev'/default: 'stable'/g" packages/cli/dist/config/schema.js
|
||||
|
||||
- name: Publish to NPM
|
||||
run: pnpm publish -r --publish-branch ${{github.event.pull_request.base.ref}} --access public --tag rc --no-git-checks
|
||||
- name: Publish n8n to NPM with rc tag
|
||||
run: pnpm --filter n8n publish --publish-branch ${{github.event.pull_request.base.ref}} --access public --tag rc --no-git-checks
|
||||
|
||||
- name: Publish other packages to NPM with latest tag
|
||||
run: pnpm publish -r --filter '!n8n' --publish-branch ${{github.event.pull_request.base.ref}} --access public --no-git-checks
|
||||
|
||||
- name: Cleanup rc tag
|
||||
run: npm dist-tag rm n8n rc
|
||||
|
||||
Reference in New Issue
Block a user