Skip to content

Commit

Permalink
Bump Node.js runtime version from 12 to 16 (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
namoscato authored Dec 12, 2021
1 parent ba04864 commit 80adf1e
Show file tree
Hide file tree
Showing 6 changed files with 11,730 additions and 19 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
- uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm install
- run: npm run all
Expand All @@ -29,11 +27,9 @@ jobs:
config: ['v2', 'v3']
steps:
- uses: actions/checkout@v2
- id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
- uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version-file: '.nvmrc'
- uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
16
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ outputs:
change_html:
description: 'HTML change summary'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:
icon: message-circle
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

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

Loading

0 comments on commit 80adf1e

Please sign in to comment.