Skip to content

Commit 62c75b9

Browse files
authored
Revert "Fixing Github action for canary branch (#2094)"
This reverts commit 0f30080.
1 parent b10ef35 commit 62c75b9

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

.github/workflows/check-packages.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,12 @@ concurrency:
1414
jobs:
1515
setup-node:
1616
name: Setup Dependencies
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout repo
20-
uses: actions/checkout@v4
21-
- name: Set up Node.js
22-
uses: actions/setup-node@v4
23-
with:
24-
node-version: 22
25-
cache: 'npm'
26-
- name: Install dependencies
27-
run: npm ci
28-
17+
uses: ./.github/workflows/node-setup.yml
18+
strategy:
19+
matrix:
20+
node-version: [22]
21+
with:
22+
node-version: ${{ matrix.node-version }}
2923
check_lint:
3024
name: Validate package linting
3125
runs-on: ubuntu-latest
@@ -34,14 +28,9 @@ jobs:
3428
- name: Checkout repo
3529
uses: actions/checkout@v4
3630
- name: Set up Node.js
37-
uses: actions/setup-node@v4
38-
with:
39-
node-version: 22
40-
cache: 'npm'
41-
- run: npm ci
31+
uses: ./.github/actions/cache-restore
4232
- name: Check Linting
4333
run: npm run lint
44-
4534
check_format:
4635
name: Validate package formatting
4736
runs-on: ubuntu-latest
@@ -50,10 +39,6 @@ jobs:
5039
- name: Checkout repo
5140
uses: actions/checkout@v4
5241
- name: Set up Node.js
53-
uses: actions/setup-node@v4
54-
with:
55-
node-version: 22
56-
cache: 'npm'
57-
- run: npm ci
42+
uses: ./.github/actions/cache-restore
5843
- name: Check Formatting
5944
run: npm run test:format

0 commit comments

Comments
 (0)