Skip to content

Commit

Permalink
Avoid deprecation warnings in GitHub action for JavaScript linting
Browse files Browse the repository at this point in the history
* Update Node version to 20
* Update the version of the actions
* Improve naming of the action/steps
  • Loading branch information
Martchus committed Jan 26, 2024
1 parent 2ffbaed commit 1f17e1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ name: javascript
on: [push, pull_request]
jobs:
test:
name: Node ${{ matrix.node-version }} and ${{ matrix.os }}
name: Lint JavaScript code (using Node version ${{ matrix.node-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [16.x]
node-version: [20]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Setup Node (version ${{ matrix.node-version }})
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install
Expand Down

0 comments on commit 1f17e1f

Please sign in to comment.