Skip to content

Commit

Permalink
fix: update node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Smith committed Aug 20, 2024
1 parent 7b04789 commit b6c6459
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- 'master'
- 'main'
- 'staging'

env:
Expand All @@ -27,7 +26,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'yarn'

- name: Install dependencies
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@ on:
push:
branches:
- "master"
- "main"
pull_request:

jobs:
lint:
runs-on: ubuntu-20.04
name: Run linter and package audit
container:
image: node:16-slim
image: node:20-slim
steps:
- uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'yarn'
- run: |
yarn -v
Expand All @@ -38,14 +37,14 @@ jobs:
runs-on: ubuntu-20.04
name: Run tests
container:
image: node:16-slim
image: node:20-slim
steps:
- uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'yarn'
- run: |
yarn -v
Expand Down

0 comments on commit b6c6459

Please sign in to comment.