Skip to content

Commit

Permalink
feat(node): upgrade to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsdeman committed Nov 4, 2024
1 parent f9335ee commit 3c93a90
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
lint-and-format:
runs-on: ubuntu-latest
container:
image: node:20
image: node:22
steps:
- uses: actions/checkout@v4
- name: Cache and restore node_modules
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'yarn'
- run: yarn
- run: yarn test
Expand All @@ -54,7 +54,7 @@ jobs:
needs: [ test ]
runs-on: ubuntu-latest
container:
image: node:20
image: node:22
steps:
- uses: actions/checkout@v4
- name: Cache and restore node_modules
Expand All @@ -73,4 +73,4 @@ jobs:
with:
name: build
path: dist.tar.gz
retention-days: 1
retention-days: 1
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "planka-client",
"version": "1.0.0",
"license": "AGPL-3.0-or-later",
"private": false,
"scripts": {
"build": "vite build",
"test": "vitest run",
Expand Down Expand Up @@ -34,7 +35,6 @@
"type": "git",
"url": "git+https://github.com/GEWIS/planka-client.git"
},
"private": false,
"bugs": {
"url": "https://github.com/GEWIS/planka-client/issues"
},
Expand All @@ -58,5 +58,8 @@
"dependencies": {
"@hey-api/client-fetch": "^0.4.2"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"engines": {
"node": ">=22.0.0"
},
"packageManager": "yarn@1.22.22"
}

0 comments on commit 3c93a90

Please sign in to comment.