Skip to content

Commit

Permalink
feat(datastore-lock)!: require node 18 (#5223)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Sep 18, 2023
1 parent 4df28ca commit b67de31
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ (matrix.package == 'gcf-utils' || matrix.package == 'issue-utils' || matrix.package == 'canary-bot' ) && 18 || 14 }}
node-version: ${{ (matrix.package == 'gcf-utils' || matrix.package == 'issue-utils' || matrix.package == 'canary-bot' || matrix.package == 'datastore-lock' ) && 18 || 14 }}
- run: echo ./packages/${{ matrix.package }}
- run: cd ./packages/${{ matrix.package }}
- run: npm ci
Expand Down
77 changes: 44 additions & 33 deletions packages/datastore-lock/package-lock.json

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

6 changes: 3 additions & 3 deletions packages/datastore-lock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"compile": "tsc -p .",
"pretest": "npm run compile && docker pull google/cloud-sdk",
"prepare": "npm run compile",
"test": "cross-env NODE_ENV=test LOG_LEVEL=fatal c8 mocha ./build/test",
"test": "cross-env NODE_ENV=test LOG_LEVEL=fatal c8 mocha --node-option no-experimental-fetch ./build/test",
"fix": "gts fix",
"lint": "gts check"
},
Expand All @@ -16,7 +16,7 @@
"bugs": "https://github.com/googleapis/repo-automation-bots/issues",
"dependencies": {
"@google-cloud/datastore": "^7.0.0",
"gcf-utils": "^14.0.1",
"gcf-utils": "^15.0.0",
"jsonwebtoken": "^9.0.0",
"uuid": "^9.0.0"
},
Expand All @@ -36,7 +36,7 @@
"typescript": "^4.9.4"
},
"engines": {
"node": ">= 14"
"node": ">= 18"
},
"keywords": [
"google cloud datastore",
Expand Down

0 comments on commit b67de31

Please sign in to comment.