Skip to content

Commit

Permalink
Merge pull request #1000 from github/henrymercer/bump-node-js-to-v16
Browse files Browse the repository at this point in the history
Run Actions on Node 16
  • Loading branch information
henrymercer authored Mar 29, 2022
2 parents fdc2a90 + eea7cf1 commit 8237e85
Show file tree
Hide file tree
Showing 70 changed files with 29,196 additions and 8,120 deletions.
3 changes: 3 additions & 0 deletions .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ def main():
print('Migrating changelog notes from v2 to v1')
subprocess.run(['sed', '-i', 's/^## 2\./## 1./g', 'CHANGELOG.md'])

# Remove changelog notes from v2 that don't apply to v1
subprocess.run(['sed', '-i', '/^- The CodeQL Action now runs on Node\.js v16\./d', 'CHANGELOG.md'])

# Amend the commit generated by `npm version` to update the CHANGELOG
run_git('add', 'CHANGELOG.md')
run_git('commit', '-m', f'Update version and changelog for v{version}')
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [UNRELEASED]

No user facing changes.
- [v2+ only] The CodeQL Action now runs on Node.js v16. [#1000](https://github.com/github/codeql-action/pull/1000)

## 1.1.5 - 15 Mar 2022

Expand Down
2 changes: 1 addition & 1 deletion analyze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ outputs:
sarif-id:
description: The ID of the uploaded SARIF file.
runs:
using: "node12"
using: "node16"
main: "../lib/analyze-action.js"
2 changes: 1 addition & 1 deletion autobuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ inputs:
matrix:
default: ${{ toJson(matrix) }}
runs:
using: 'node12'
using: 'node16'
main: '../lib/autobuild-action.js'
2 changes: 1 addition & 1 deletion init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ outputs:
codeql-path:
description: The path of the CodeQL binary used for analysis
runs:
using: 'node12'
using: 'node16'
main: '../lib/init-action.js'
8 changes: 4 additions & 4 deletions node_modules/.package-lock.json

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

Empty file modified node_modules/@types/node/LICENSE
100644 → 100755
Empty file.
10 changes: 5 additions & 5 deletions node_modules/@types/node/README.md
100644 → 100755

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

Loading

0 comments on commit 8237e85

Please sign in to comment.