Skip to content

Commit 9fb5d50

Browse files
authored
build: update workflow to pull Node 16 (#2831)
* chore: POC to setup node 16 * chore: update poc * chore: update poc * chore: remove dependency * build: update workflow to pull Node 16
1 parent 3ec472b commit 9fb5d50

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.github/workflows/publish-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ jobs:
8888
with:
8989
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
9090
fetch-depth: 0
91-
- name: Setup Node.js LTS
91+
- name: Setup Node.js 16
9292
uses: actions/setup-node@v3
9393
with:
94-
node-version: lts/*
94+
node-version: 16
9595
cache: 'yarn'
9696
- name: Install packages
9797
uses: ./.github/actions/install-with-retries

.github/workflows/publish-next.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
with:
5757
persist-credentials: false
5858

59-
- name: Setup Node.js LTS
59+
- name: Setup Node.js 16
6060
uses: actions/setup-node@v3
6161
with:
62-
node-version: lts/*
62+
node-version: 16
6363
cache: 'yarn'
6464

6565
- name: Restore cypress runner Cache

.github/workflows/reusable-e2e.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
ref: ${{ inputs.commit }}
6060
repository: ${{ inputs.repository }}
6161
persist-credentials: false
62-
- name: Setup Node.js LTS
62+
- name: Setup Node.js 16
6363
uses: actions/setup-node@v3
6464
with:
65-
node-version: lts/*
65+
node-version: 16
6666
cache: 'yarn'
6767
- name: Restore cypress runner from Cache
6868
uses: actions/cache@v3
@@ -122,10 +122,10 @@ jobs:
122122
repository: ${{ inputs.repository }}
123123
persist-credentials: false
124124

125-
- name: Setup Node.js LTS
125+
- name: Setup Node.js 16
126126
uses: actions/setup-node@v3
127127
with:
128-
node-version: lts/*
128+
node-version: 16
129129
cache: 'yarn'
130130

131131
- name: Restore node_modules cache
@@ -225,10 +225,10 @@ jobs:
225225
env:
226226
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
227227

228-
- name: Setup Node.js LTS
228+
- name: Setup Node.js 16
229229
uses: actions/setup-node@v3
230230
with:
231-
node-version: lts/*
231+
node-version: 16
232232
cache: 'yarn'
233233

234234
- name: Restore cypress runner Cache
@@ -361,10 +361,10 @@ jobs:
361361
repository: ${{ inputs.repository }}
362362
persist-credentials: false
363363

364-
- name: Setup Node.js LTS
364+
- name: Setup Node.js 16
365365
uses: actions/setup-node@v3
366366
with:
367-
node-version: lts/*
367+
node-version: 16
368368
cache: 'yarn'
369369

370370
- name: Restore cypress runner Cache

.github/workflows/reusable-tagged-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
run: exit 1
2424
- name: Checkout repo
2525
uses: actions/checkout@v3
26-
- name: Setup Node.js LTS
26+
- name: Setup Node.js 16
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: lts/*
29+
node-version: 16
3030
cache: 'yarn'
3131
- name: Install packages
3232
uses: ./.github/actions/install-with-retries

.github/workflows/version-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
- name: Check if repo has unconsumed changesets
2727
id: has-changesets
2828
uses: ./.github/actions/has-changesets
29-
- name: Setup Node.js LTS
29+
- name: Setup Node.js 16
3030
if: ${{ steps.has-changesets.outputs.has-changesets == 'true' }}
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: lts/*
33+
node-version: 16
3434
cache: 'yarn'
3535
- name: Install and build packages
3636
if: ${{ steps.has-changesets.outputs.has-changesets == 'true' }}

0 commit comments

Comments
 (0)