Skip to content

Commit

Permalink
Merge pull request #9 from TradeTrust/feat/allow-node20
Browse files Browse the repository at this point in the history
feat: allow node20
  • Loading branch information
rongquan1 authored Nov 29, 2024
2 parents d5f2628 + 06502a8 commit c9a7888
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,27 @@ jobs:
run-tests:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test

test-build:
name: Test Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
- run: npm run build
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
>=18
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@
"access": "public"
},
"engines": {
"node": "18.x"
"node": ">=18.x"
}
}

0 comments on commit c9a7888

Please sign in to comment.