Skip to content

Commit

Permalink
Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ataylorme committed Jan 27, 2024
1 parent bababc8 commit 3f4105d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ on:
branches:
- master
- v2
- v3
pull_request:

jobs:
node_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'npm'
node-version: 20
cache: npm
- name: Install Node Dependencies
run: npm ci
env:
Expand All @@ -34,10 +35,11 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: "eslint_report.json"
- name: Upload ESLint report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: eslint_report.json
path: eslint_report.json
retention-days: 7
- name: Test That The Project Builds
run: npm run build
- name: Run Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inputs:
default: 'false'
required: false
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: "check-circle"
Expand Down

0 comments on commit 3f4105d

Please sign in to comment.