Skip to content

Commit

Permalink
Test build on node 15-17
Browse files Browse the repository at this point in the history
  • Loading branch information
bahlo committed May 3, 2022
1 parent 0c50205 commit cfb3029
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 17
- run: npm install
- run: npm run check-format
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 15.x
- 16.x
- 17.x
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"Arne Bahlo <[email protected]>"
],
"engines": {
"node": ">=14"
"node": ">=15"
},
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "tsc",
"prepublish": "npm run build",
"prepare": "npm run build",
"format": "prettier --write index.ts",
"check-format": "prettier -c index.ts"
},
Expand Down

0 comments on commit cfb3029

Please sign in to comment.