Skip to content

Commit 0ec6961

Browse files
authored
Bump actions, pmap genPng, fix nodejs version, fix issues with node 14.17 (#7482)
1 parent 2f16b23 commit 0ec6961

File tree

23 files changed

+115
-79
lines changed

23 files changed

+115
-79
lines changed

.changeset/swift-shoes-beam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Bump GitHub action versions and add p-map for gen-og-images CI failure

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout branch
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
with:
2222
fetch-depth: 0
2323

2424
- name: Setup Node with v16.13.0
25-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v3
2626
with:
2727
node-version: 16.13.0
2828

.github/workflows/ci-a11y-vrt.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout branch
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: Setup Node with v16.13.0
27-
uses: actions/setup-node@v2
27+
uses: actions/setup-node@v3
2828
with:
2929
node-version: 16.13.0
3030
cache: yarn
3131

3232
- name: Restore cache
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
path: |
3636
**/.turbo
@@ -59,18 +59,18 @@ jobs:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Checkout branch
62-
uses: actions/checkout@v2
62+
uses: actions/checkout@v3
6363
with:
6464
fetch-depth: 0 # Chromatic git history to track changes
6565

6666
- name: Setup Node with v16.13.0
67-
uses: actions/setup-node@v2
67+
uses: actions/setup-node@v3
6868
with:
6969
node-version: 16.13.0
7070
cache: yarn
7171

7272
- name: Restore cache
73-
uses: actions/cache@v2
73+
uses: actions/cache@v3
7474
with:
7575
path: |
7676
**/.turbo

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ on:
99

1010
jobs:
1111
build:
12-
name: 'Validate with Node v${{ matrix.node_version }}'
12+
name: 'Validate with Node v${{ matrix.node-version }}'
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node_version: ['14.17.0', '16.13.0']
16+
node-version: ['14.17.0', '16.13.0']
1717
steps:
1818
- name: Checkout branch
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020

21-
- name: Setup Node with v${{ matrix.node_version }}
21+
- name: Setup Node with v${{ matrix.node-version }}
2222
uses: actions/setup-node@v3
2323
with:
24-
node_version: ${{ matrix.node_version }}
24+
node-version: ${{ matrix.node-version }}
2525
cache: yarn
2626

2727
- name: Restore cache
28-
uses: actions/cache@v2
28+
uses: actions/cache@v3
2929
with:
3030
path: |
3131
**/.eslintcache
3232
**/.turbo
3333
node_modules/.cache/turbo
3434
polaris.shopify.com/.next/cache
35-
key: ${{ runner.os }}-node${{ matrix.node_version }}-test-v1-${{ github.sha }}
35+
key: ${{ runner.os }}-node${{ matrix.node-version }}-test-v1-${{ github.sha }}
3636
restore-keys: |
37-
${{ runner.os }}-node${{ matrix.node_version }}-test-v1-
37+
${{ runner.os }}-node${{ matrix.node-version }}-test-v1-
3838
3939
- name: Install dependencies
4040
run: yarn --frozen-lockfile

.github/workflows/non-committable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
check:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- uses: dorny/paths-filter@v2
1414
id: filter
1515
with:

.github/workflows/publish-polaris-for-vscode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
name: Checkout
1515

16-
- uses: actions/setup-node@v2
16+
- uses: actions/setup-node@v3
1717
name: Use Node.js 16.x
1818
with:
1919
node-version: 16

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Repo
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717

1818
- name: Setup Node.js
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v3
2020
with:
2121
node-version: 16.x
2222
cache: 'yarn'

.github/workflows/size-limit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
env:
1313
CI_JOB_NUMBER: 1
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v2
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 16
1919
cache: yarn

.github/workflows/snapit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
repo: context.repo.repo,
4040
pull_number: context.issue.number,
4141
})
42-
42+
4343
// Pull request from fork
4444
if (context.payload.repository.full_name !== pullRequest.data.head.repo.full_name) {
4545
const errorMessage = '`/snapit` is not supported on pull requests from forked repositories.'
@@ -58,7 +58,7 @@ jobs:
5858
}
5959
6060
- name: Checkout default branch
61-
uses: actions/checkout@v2
61+
uses: actions/checkout@v3
6262

6363
# issue_comment requires us to checkout the branch
6464
# https://github.com/actions/checkout/issues/331#issuecomment-1120113003
@@ -78,7 +78,7 @@ jobs:
7878
fi
7979
8080
- name: Setup Node.js
81-
uses: actions/setup-node@v2
81+
uses: actions/setup-node@v3
8282
with:
8383
node-version: 16.x
8484

documentation/Nodejs support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The `package.json` engines. This should match the `.github/workflows/ci.yml` and
2323
The GitHub actions `.github/workflows/ci.yml` file. This should match the `package.json` and list all supported versions.
2424

2525
```yml
26-
node_version: ['14.17.0', '16.13.0']
26+
node-version: ['14.17.0', '16.13.0']
2727
```
2828
2929
The `dev.yml` file which creates a local development environment. This should match the `.nvmrc` file.

0 commit comments

Comments
 (0)