Skip to content

Commit

Permalink
ci: run build before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyman committed Oct 19, 2024
1 parent a877d27 commit b513cae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Install dependencies
run: npm run bootstrap

- name: Build library
run: pnpm --filter ./lib build

- name: Lint
run: pnpm lint --reporter=github

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bootstrap": "corepack enable && pnpm i --frozen-lockfile && pnpm --filter='*' run --parallel setup",
"clean": "rm -rf ./example/tests/{coverage-reports,results} ./lib/dist ./{.,lib,example}.*.log ./{.,lib,example}/node_modules",
"lint": "biome check",
"test": "pnpm run --filter=example test"
"test": "pnpm run --filter ./example test"
},
"resolutions": {
"react-image-turntable": "workspace:*"
Expand Down

0 comments on commit b513cae

Please sign in to comment.