Skip to content

Commit

Permalink
ci: Update Node versions for Automated tasks (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexs-mparticle authored and rmi22186 committed Dec 11, 2024
1 parent 3b1aa42 commit 7919130
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Run NPM CI
run: npm ci
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x, 20.x]
node-version: [18.x, 19.x, 20.x, 21.x, 22.x, 23.x]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Run NPM CI
run: npm ci
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Run NPM CI
run: npm ci
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Compress Bundle
run: npm run bundle
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Run NPM CI
run: npm ci
Expand Down Expand Up @@ -57,17 +57,14 @@ jobs:
test-jest:
name: 'Test Jest'
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: NPM install
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: latest

- name: Run NPM CI
run: npm ci
Expand Down Expand Up @@ -111,7 +108,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Run NPM CI
run: npm ci
Expand Down Expand Up @@ -272,7 +269,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: latest

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 7919130

Please sign in to comment.