Skip to content

Commit

Permalink
deps: update to use nodev16
Browse files Browse the repository at this point in the history
Node 12 has an end of life on April 30, 2022.
This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12.
This is supported on all Actions Runners v2.285.0 or later.

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed May 1, 2022
1 parent 280f532 commit c08fd9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '12.x'
cache: 'npm'
node-version: "16.x"
cache: "npm"
- run: npm ci
- name: Run tests
run: |
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: bump-homebrew-formula
description: 'Bump Homebrew formula after a new release'
author: '@mislav'
description: "Bump Homebrew formula after a new release"
author: "@mislav"
runs:
using: node12
main: './lib/index.js'
using: node16
main: "./lib/index.js"
inputs:
formula-name:
description: The name of the Homebrew formula (defaults to lower-cased repository name)
Expand Down

0 comments on commit c08fd9b

Please sign in to comment.