Skip to content

Commit 79af469

Browse files
committed
ci(cicd): update workflow
1 parent b3a0e21 commit 79af469

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
os: [ubuntu-latest, windows-latest]
1313
node-version:
1414
- 20.x
15-
- 21.x
15+
- 22.x
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
description: "Type of release: major, minor, or patch"
1010
required: true
1111
default: "patch"
12-
12+
1313
permissions:
1414
contents: write
1515
id-token: write
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install dependencies
4646
run: npm install
4747
- name: Publish package
48-
run: npm run release -- --ci
48+
run: npm run release -- --ci --release-as ${{ github.event.inputs.release_type }}
4949
env:
5050
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)