Skip to content

Commit

Permalink
fix: use node20 as GitHub runner (#654)
Browse files Browse the repository at this point in the history
Co-authored-by: Gregor Martynus <[email protected]>
  • Loading branch information
targos and gr2m authored Feb 23, 2024
1 parent 0eb61a2 commit 2fa38a8
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 374 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
issue_245:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: debug
- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
name: "[TEST] Update existing pull request"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > test.txt
- run: npm ci
Expand All @@ -43,12 +43,12 @@ jobs:
name: "[TEST] Create new pull request"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > test.txt
- run: npm ci
Expand Down Expand Up @@ -85,12 +85,12 @@ jobs:
name: "[TEST] Create multiple commits"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > file1.txt
- run: date > file2.txt
Expand Down Expand Up @@ -146,12 +146,12 @@ jobs:
name: "[TEST] Auto merge"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > test.txt
- run: npm ci
Expand All @@ -175,12 +175,12 @@ jobs:
name: "[TEST] Create or update pull request for hidden file"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > .github/test.txt
- run: npm ci
Expand All @@ -195,12 +195,12 @@ jobs:
name: "[TEST] Update PR title and body"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > test.txt
- run: npm ci
Expand Down Expand Up @@ -264,12 +264,12 @@ jobs:
name: "[TEST] Add Reviewers"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: npm
- run: date > test.txt
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ outputs:
description: "'updated', 'created', 'unchanged' based if the PR was created, updated or nothing happened"

runs:
using: "node16"
using: "node20"
main: "dist/index.js"
Loading

0 comments on commit 2fa38a8

Please sign in to comment.