Skip to content

Commit

Permalink
ci: Using node 18 for semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
adilansari authored Jan 9, 2023
1 parent 88f1249 commit 1811872
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Build package
run: npm ci
- name: Install semantic-release
Expand All @@ -30,4 +30,4 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release --debug --dryRun
run: npx semantic-release@18 --debug --dryRun
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Build package
run: npm ci
- name: Install semantic-release
Expand All @@ -48,4 +48,4 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release --debug
run: npx semantic-release@18 --debug

0 comments on commit 1811872

Please sign in to comment.