Skip to content

Commit

Permalink
update workflows to use checkout/setup-node@v4
Browse files Browse the repository at this point in the history
get CI to stop complaining about node version being too low
  • Loading branch information
eritbh committed Oct 31, 2024
1 parent 0badab9 commit a83f159
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout@v3
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v3
with:
node-version: '16'
uses: actions/setup-node@v4
- run: npm install
- name: generate docs
run: npm run docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run fmt
- run: npm run lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
steps:
# TODO: somehow check if the pushed tag was a backport (i.e. it's a lower
# version than the latest beta release) and don't publish those. #964
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run fmt
- run: npm run lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run fmt
- run: npm run lint
Expand Down

0 comments on commit a83f159

Please sign in to comment.