Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
^ Update package.json & workflows to use nodeJS 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Apr 30, 2024
1 parent 11d755b commit f9ea87e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ jobs:
lint:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16.x
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run lint
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "dist/videojs-vtt-thumbnails.es.js",
"type": "module",
"engines": {
"node": ">=14.18.0"
"node": ">=20.9.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f9ea87e

Please sign in to comment.