Skip to content

Commit

Permalink
fix: Semantic release node version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue committed Jan 16, 2024
1 parent 5bcd5d1 commit 0caf7e6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
project-directory: ./
repository: 'Greenstand/treetracker-wallet-admin-client'
node-version: '18'
node-version: '20'

jobs:
prepare:
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
- uses: actions/checkout@v2
- run: |
echo "::debug:: begin preparing...";
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
- uses: actions/checkout@v2
with:
# have to checkout master, to read releaserc, which means we must update the rc file in master with the newest settings
Expand Down Expand Up @@ -105,10 +105,10 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.version }}
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
- name: npm clean install
run: npm ci --legacy-peer-deps
working-directory: ${{ env.project-directory }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/treetracker-wallet-admin-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
project-directory: ./
node-version: '18'
node-version: '20'

jobs:
client:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"semantic-release": "^21.0.7"
},
"engines": {
"node": ">= 18 < 19"
"node": ">= 20 < 21"
},
"jest": {
"transformIgnorePatterns": [
Expand Down

0 comments on commit 0caf7e6

Please sign in to comment.