Skip to content

Commit

Permalink
Fix release-it script
Browse files Browse the repository at this point in the history
  • Loading branch information
jessedobbelaere committed Dec 25, 2024
1 parent c23e045 commit 63a4feb
Show file tree
Hide file tree
Showing 5 changed files with 2,060 additions and 2,057 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
with:
ref: "master"
fetch-depth: 0
- uses: oleksiyrudenko/gha-git-credentials@v1
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Use Node.js
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
- name: Release version
run: npx -p @release-it/bumper@2.0.0 -p release-it@14.2.1 release-it --verbose --increment ${{ github.event.inputs.releaseVersion }}
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 }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.npmrc
Loading

0 comments on commit 63a4feb

Please sign in to comment.