Skip to content

Commit 0e01be2

Browse files
authored
Revert "Fixing Github action for canary branch (#2094)" (#2095)
This reverts commit 0f30080.
1 parent db6908f commit 0e01be2

1 file changed

Lines changed: 8 additions & 23 deletions

File tree

.github/workflows/check-packages.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,12 @@ concurrency:
1111
jobs:
1212
setup-node:
1313
name: Setup Dependencies
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Checkout repo
17-
uses: actions/checkout@v4
18-
- name: Set up Node.js
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: 22
22-
cache: 'npm'
23-
- name: Install dependencies
24-
run: npm ci
25-
14+
uses: ./.github/workflows/node-setup.yml
15+
strategy:
16+
matrix:
17+
node-version: [22]
18+
with:
19+
node-version: ${{ matrix.node-version }}
2620
check_lint:
2721
name: Validate package linting
2822
runs-on: ubuntu-latest
@@ -31,14 +25,9 @@ jobs:
3125
- name: Checkout repo
3226
uses: actions/checkout@v4
3327
- name: Set up Node.js
34-
uses: actions/setup-node@v4
35-
with:
36-
node-version: 22
37-
cache: 'npm'
38-
- run: npm ci
28+
uses: ./.github/actions/cache-restore
3929
- name: Check Linting
4030
run: npm run lint
41-
4231
check_format:
4332
name: Validate package formatting
4433
runs-on: ubuntu-latest
@@ -47,10 +36,6 @@ jobs:
4736
- name: Checkout repo
4837
uses: actions/checkout@v4
4938
- name: Set up Node.js
50-
uses: actions/setup-node@v4
51-
with:
52-
node-version: 22
53-
cache: 'npm'
54-
- run: npm ci
39+
uses: ./.github/actions/cache-restore
5540
- name: Check Formatting
5641
run: npm run test:format

0 commit comments

Comments
 (0)