Skip to content

Commit

Permalink
ci: upgrade runner images to use Node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Oct 2, 2024
1 parent e31070e commit d3c98af
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-all-packages-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: node .github/workflows/scripts/replace-package-versions.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: node .github/workflows/scripts/replace-package-versions.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-artillery-engine-posthog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: npm -w artillery-engine-posthog publish --tag latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: npm -w artillery-plugin-memory-inspector publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-artillery-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: node .github/workflows/scripts/replace-package-versions.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-specific-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: node .github/workflows/scripts/replace-package-versions.js
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-distributed-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.COMMIT_SHA || null }}
- name: Use Node.js 18.x
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- id: generate-matrix
run: |
RESULT=$(node .github/workflows/scripts/get-tests-in-package-location.js)
Expand Down Expand Up @@ -81,10 +81,10 @@ jobs:
role-to-assume: ${{ secrets.AWS_TEST_EXECUTION_ROLE_ARN_TEST5 }}
role-session-name: OIDCSession
mask-aws-account-id: true
- name: Use Node.js 18.x
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
node-version: 20.x
- run: .github/workflows/scripts/npm-command-retry.sh install
- run: npm run build
- name: Install Specific Artillery Version if needed
Expand Down Expand Up @@ -132,10 +132,10 @@ jobs:
role-to-assume: ${{ secrets.AWS_TEST_EXECUTION_ROLE_ARN_TEST5 }}
role-session-name: OIDCSession
mask-aws-account-id: true
- name: Use Node.js 18.x
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
node-version: 20.x
- run: .github/workflows/scripts/npm-command-retry.sh install
- run: npm run build
- name: Install Specific Artillery Version if needed
Expand Down

0 comments on commit d3c98af

Please sign in to comment.