Skip to content

Commit

Permalink
Upgrade to Node.js v20 for the GitHub Actions Library [MABL-13559] (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair authored May 21, 2024
1 parent 7b8b4ec commit c3a4b51
Show file tree
Hide file tree
Showing 10 changed files with 2,977 additions and 1,442 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ jobs:
name: Mabl Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci

Expand Down Expand Up @@ -36,4 +39,4 @@ jobs:
smoke-test
http-headers: |
X-Test-Header-1: 1234
X-Test-Header-2: 5678
X-Test-Header-2: 5678
7 changes: 5 additions & 2 deletions .github/workflows/push-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ jobs:
name: Mabl Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: mabl Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Functional test deployment
id: mabl-test-deployment
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
name: mabl Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Functional test deployment
id: mabl-test-deployment
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ outputs:
description: "Number of mabl tests that failed against this deployment."

runs:
using: "node16"
main: "lib/src/index.js"
using: "node20"
main: "lib/src/entrypoint.js"
Loading

0 comments on commit c3a4b51

Please sign in to comment.