Skip to content

Commit 63a4feb

Browse files
Fix release-it script
1 parent c23e045 commit 63a4feb

File tree

5 files changed

+2060
-2057
lines changed

5 files changed

+2060
-2057
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ jobs:
1818
with:
1919
ref: "master"
2020
fetch-depth: 0
21-
- uses: oleksiyrudenko/gha-git-credentials@v1
21+
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
2222
with:
2323
token: "${{ secrets.GITHUB_TOKEN }}"
2424
- name: Use Node.js
25-
uses: actions/setup-node@v2-beta
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: 22
28+
registry-url: https://registry.npmjs.org
2829
- name: Release version
29-
run: npx -p @release-it/bumper@2.0.0 -p release-it@14.2.1 release-it --verbose --increment ${{ github.event.inputs.releaseVersion }}
30+
run: npx -p @release-it/bumper@6.0.1 -p auto-changelog -p release-it@17.11.0 release-it --verbose --increment ${{ github.event.inputs.releaseVersion }}
3031
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3133
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v2
16-
- uses: actions/setup-node@v2-beta
16+
- uses: actions/setup-node@v4
1717
with:
1818
node-version: ${{ matrix.node }}
1919
- name: Install dependencies

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
.npmrc

0 commit comments

Comments
 (0)