Skip to content

Commit 0f30080

Browse files
authored
Fixing Github action for canary branch (#2094)
* Fixing Github action for canary branch * Removed action on push as it ran successfully for the action.
1 parent 028bd77 commit 0f30080

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

.github/workflows/check-packages.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ concurrency:
1414
jobs:
1515
setup-node:
1616
name: Setup Dependencies
17-
uses: ./.github/workflows/node-setup.yml
18-
strategy:
19-
matrix:
20-
node-version: [22]
21-
with:
22-
node-version: ${{ matrix.node-version }}
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+
2329
check_lint:
2430
name: Validate package linting
2531
runs-on: ubuntu-latest
@@ -28,9 +34,14 @@ jobs:
2834
- name: Checkout repo
2935
uses: actions/checkout@v4
3036
- name: Set up Node.js
31-
uses: ./.github/actions/cache-restore
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: 22
40+
cache: 'npm'
41+
- run: npm ci
3242
- name: Check Linting
3343
run: npm run lint
44+
3445
check_format:
3546
name: Validate package formatting
3647
runs-on: ubuntu-latest
@@ -39,6 +50,10 @@ jobs:
3950
- name: Checkout repo
4051
uses: actions/checkout@v4
4152
- name: Set up Node.js
42-
uses: ./.github/actions/cache-restore
53+
uses: actions/setup-node@v4
54+
with:
55+
node-version: 22
56+
cache: 'npm'
57+
- run: npm ci
4358
- name: Check Formatting
4459
run: npm run test:format

0 commit comments

Comments
 (0)