Skip to content

Commit

Permalink
feat: run Action on Node.js 16 (BREAKING CHANGE) (#642)
Browse files Browse the repository at this point in the history
* feat: run Action on Node.js 16 (BREAKING CHANGE)
* ci: use Node.js 16 on CI
  • Loading branch information
nogic1008 committed Feb 25, 2022
1 parent b21495b commit e2feaaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compare-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
uses: actions/checkout@v2.4.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js 12
- name: Use Node.js 16
uses: actions/setup-node@v3.0.0
with:
node-version: 12
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
# Setup Environment
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 12
- name: Use Node.js 16
uses: actions/setup-node@v3.0.0
with:
node-version: 12
node-version: 16
cache: yarn

- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ branding:
icon: 'thumbs-up'
color: 'purple'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'

0 comments on commit e2feaaf

Please sign in to comment.