Skip to content

Commit

Permalink
Upgrade checkout and setup-node actions to v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
JSAssassin committed Nov 29, 2023
1 parent 09ca124 commit b9b6aba
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,27 @@ jobs:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Run eslint
run: npm run lint
test-node:
if: ${{ github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' }}
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install npm dependencies
Expand Down

0 comments on commit b9b6aba

Please sign in to comment.