Skip to content

Commit 52a0f34

Browse files
Make sure npm is up to date for trusted publishing (#86)
* Make sure npm is up to date for trusted publishing * Minimum node version 22
1 parent 3f4a721 commit 52a0f34

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: "20"
17+
node-version: "22"
1818
registry-url: "https://registry.npmjs.org"
19+
# Ensure npm is up to date for trusted publishing
20+
- run: npm install -g npm@latest
1921
- run: npm ci
2022
- run: npm test
2123
- run: npm publish

0 commit comments

Comments
 (0)