Skip to content

Commit

Permalink
Bump github action node version
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jun 21, 2024
1 parent d14d0b5 commit 18002e8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ on: pull_request

jobs:
lint:
name: Lint on node 14 and ubuntu-latest
name: Lint on node 20 and ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint codebase
run: yarn lint
test:
name: Test and lint on node 14.x and ubuntu-latest
name: Test and lint on node 20.x and ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
- name: Test codebase
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on: push

jobs:
test:
name: Test and lint on node 14.x and ubuntu-latest
name: Test and lint on node 20.x and ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
- name: Test codebase
Expand Down

0 comments on commit 18002e8

Please sign in to comment.