Skip to content

Commit

Permalink
ci: test against node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Sep 9, 2024
1 parent 1edaea9 commit 0a4f648
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: ${{ (endsWith(matrix.package, '-utils') || matrix.package == 'auto-approve' || matrix.package == 'canary-bot' || matrix.package == 'conventional-commit-lint' || matrix.package == 'datastore-lock' || matrix.package == 'object-selector' || matrix.package == 'release-please' || matrix.package == 'secret-rotator' || matrix.package == 'owl-bot' ) && 18 || 14 }}
node-version: ${{ (endsWith(matrix.package, '-utils') || matrix.package == 'auto-approve' || matrix.package == 'canary-bot' || matrix.package == 'conventional-commit-lint' || matrix.package == 'datastore-lock' || matrix.package == 'object-selector' || matrix.package == 'release-please' || matrix.package == 'secret-rotator' || matrix.package == 'trusted-contribution' || matrix.package == 'owl-bot' ) && 18 || 14 }}
- run: echo ./packages/${{ matrix.package }}
- run: cd ./packages/${{ matrix.package }}
- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions packages/trusted-contribution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"compile": "tsc -p .",
"start": "node ./build/src/server.js",
"pretest": "npm run compile",
"test": "cross-env LOG_LEVEL=fatal c8 mocha build/test",
"test": "cross-env LOG_LEVEL=fatal c8 mocha --node-option no-experimental-fetch build/test",
"fix": "gts fix",
"lint": "gts check"
},
Expand All @@ -49,6 +49,6 @@
"typescript": "~4.9.0"
},
"engines": {
"node": ">= 14"
"node": ">= 18"
}
}

0 comments on commit 0a4f648

Please sign in to comment.