Skip to content

Commit 6679c23

Browse files
authored
(optim/ci): don't build a second time for lint or test (#623)
- yarn install already builds, so we can skip the build step of these scripts and run the post-build step of each instead
1 parent 3a6e098 commit 6679c23

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: yarn install --frozen-lockfile
2222

2323
- name: Lint codebase
24-
run: yarn lint
24+
run: yarn lint:post-build
2525

2626
test:
2727
runs-on: ${{ matrix.os }}
@@ -44,4 +44,4 @@ jobs:
4444
run: yarn install --frozen-lockfile
4545

4646
- name: Test package
47-
run: yarn test --runInBand
47+
run: yarn test:post-build --runInBand

0 commit comments

Comments
 (0)