Skip to content
Open
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
17 changes: 6 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,27 @@ jobs:
contents: write
pull-requests: write
packages: write
id-token: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 20.x
- name: Setup Node.js 22.14.0
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.14.0

- name: Setup npm for trusted publishing
run: sudo npm i -g npm@^11.5.1

- name: Setup pnpm
run: sudo npm i -g pnpm@10.4.1

- name: Install Dependencies
run: pnpm install

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF

- name: Get Open PRs Created by Bots
id: get_bot_prs
run: |
Expand Down Expand Up @@ -96,5 +93,3 @@ jobs:
commitMode: github-api
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
registry=https://registry.npmjs.org
https://registry.npmjs.org/:_authToken=${NPM_TOKEN}
auto-install-peers = true