Skip to content

Commit

Permalink
Specify supported node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Jan 22, 2024
1 parent 0a3000e commit aa8d03d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ jobs:
k6_transpile_bundle_test:
name: Transpile, bundle and run
runs-on: ubuntu-latest

strategy:
matrix:
node: [ 16, 18 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run bundle
- name: Run local k6 test
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"main": "index.js",
"repository": "ssh://[email protected]/k6io/example-typescript.git",
"author": "Simon Aronsson <[email protected]>",
"engines": {
"node": "16 || 18"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "7.23.7",
Expand Down

0 comments on commit aa8d03d

Please sign in to comment.