Skip to content

Commit

Permalink
ci(SPV-1293): use node version from package json
Browse files Browse the repository at this point in the history
  • Loading branch information
dorzepowski committed Dec 13, 2024
1 parent 0a1d856 commit cb061ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,20 @@ name: lint and test

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
branches-ignore:
- main
- master

jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [22.x]
fail-fast: true
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Use Node.js 22.x
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
node-version-file: 'package.json'
cache: 'yarn'
- name: Install dependencies with yarn
run: yarn install --frozen-lockfile
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"backend": "docker compose pull bux-wallet-backend && docker compose up db bux-wallet-backend",
"preview": "vite preview"
},
"engines": {
"node": ">=22"
},
"dependencies": {
"@4chain-ag/react-configuration": "^1.0.4",
"@material-ui/lab": "^4.0.0-alpha.61",
Expand Down

0 comments on commit cb061ff

Please sign in to comment.