Skip to content

Commit

Permalink
Merge pull request #206 from github/node20
Browse files Browse the repository at this point in the history
Upgrade to node20
  • Loading branch information
GrantBirki authored Sep 7, 2023
2 parents 346835a + 2fee953 commit 836edce
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.9.0
20.6.0
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,6 @@ outputs:
unlocked_environments:
description: 'Only exposed when using the "unlock on merge" mode - This output variable will contain a comma separated list of the environments that were unlocked'
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
post: "dist/index.js"
5 changes: 4 additions & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"format-check": "prettier --check '**/*.js'",
"lint": "eslint src/**/*.js",
"package": "ncc build src/main.js -o dist --source-map --license licenses.txt",
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"ci-test": "jest",
"test": "(BRANCH_DEPLOY_JEST_TEST=true jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"ci-test": "BRANCH_DEPLOY_JEST_TEST=true jest",
"all": "npm run format && npm run lint && npm run package",
"bundle": "npm run format && npm run package",
"act": "npm run format && npm run package && act issue_comment -e events/issue_comment_deploy.json -s GITHUB_TOKEN=faketoken -j test"
Expand Down
5 changes: 4 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,10 @@ export async function run() {
if (core.getState('isPost') === 'true') {
post()
} else {
if (process.env.CI === 'true') {
if (
process.env.CI === 'true' &&
process.env.BRANCH_DEPLOY_JEST_TEST !== 'true'
) {
run()
}
}

0 comments on commit 836edce

Please sign in to comment.