Skip to content

Commit c9ce503

Browse files
committed
fix ci
1 parent a81d304 commit c9ce503

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ on:
99
- main
1010
pull_request:
1111

12-
defaults:
13-
run:
14-
working-directory: buildAndReleaseTask
15-
1612
jobs:
1713
build:
1814
runs-on: ubuntu-latest
@@ -23,8 +19,13 @@ jobs:
2319
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
2420
with:
2521
node-version: ${{ env.NODE_VERSION }}
26-
cache: 'npm'
22+
cache: "npm"
23+
cache-dependency-path: buildAndReleaseTask/package-lock.json
2724

28-
- run: npm ci
25+
- name: Install packages
26+
run: npm ci
27+
working-directory: buildAndReleaseTask
2928

30-
- run: npm run lint
29+
- name: Run lint
30+
run: npm run lint
31+
working-directory: buildAndReleaseTask

0 commit comments

Comments
 (0)