Skip to content

Commit

Permalink
Debug .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Kais committed Jan 8, 2025
1 parent 915bcac commit c0a2529
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@ jobs:
run: pnpm publish -r --publish-branch ${{ github.ref_name }} --dry-run
- name: Publish to GitHub Packages
run: |
echo "registry=https://npm.pkg.github.com" > .npmrc
echo "@n8n_io:registry=https://npm.pkg.github.com" >> .npmrc
echo "@n8n_io:registry=https://npm.pkg.github.com" > .npmrc
echo "@n8n:registry=https://npm.pkg.github.com" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
node .github/scripts/trim-fe-packageJson.js
node .github/scripts/ensure-provenance-fields.mjs
sed -i "s/default: 'dev'/default: 'stable'/g" packages/cli/dist/config/schema.js
pnpm publish -r --publish-branch ${{ github.ref_name }} --access public --tag rc --no-git-checks
- name: Debug .npmrc
run: cat .npmrc
- id: set-release
run: echo "release=${{ env.RELEASE }}" >> $GITHUB_OUTPUT
build-and-push:
Expand Down

0 comments on commit c0a2529

Please sign in to comment.