Skip to content

Commit

Permalink
Upgrade to Node.js 16 (#260)
Browse files Browse the repository at this point in the history
* Upgrade to Node.js 16

* Update workflow
  • Loading branch information
xalvarez authored Jan 4, 2022
1 parent a07e7f8 commit 2218384
Show file tree
Hide file tree
Showing 4 changed files with 5,921 additions and 1,226 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,27 @@ on:
pull_request:
branches:
- main
- 'releases/*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check-out git branch
uses: actions/checkout@v2
- name: Clone git repository
uses: actions/[email protected]
- name: Set up Node.js 16
uses: actions/[email protected]
with:
node-version: '16'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint, build and test application
run: npm run all
test:
runs-on: ubuntu-latest
steps:
- name: Check-out git branch
uses: actions/checkout@v2
- name: Clone git repository
uses: actions/checkout@v2.4.0
- name: Run action locally
uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ inputs:
required: false
description: 'Always trust pull request authors included in this comma separated list, e.g.: user1, user2, user3'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 2218384

Please sign in to comment.