mirror of
https://github.com/NotAShelf/nix-evaluator-stats.git
synced 2026-04-12 06:17:43 +00:00
ci: fix check and deploy workflows
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ib9590566fe1a41f64316f5ab56957b116a6a6964
This commit is contained in:
parent
7b01c44039
commit
812b16e414
2 changed files with 9 additions and 3 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
|
@ -25,6 +25,9 @@ jobs:
|
|||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build core packages
|
||||
run: pnpm -r --filter '!@ns/web' build
|
||||
|
||||
- run: pnpm run check
|
||||
- run: pnpm run lint
|
||||
- run: pnpm run fmt --check
|
||||
|
|
|
|||
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
|
|
@ -35,13 +35,16 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
run: GITHUB_PAGES=true pnpm run build
|
||||
- name: Build core packages
|
||||
run: pnpm -r --filter '!@ns/web' build
|
||||
|
||||
- name: Build web app
|
||||
run: GITHUB_PAGES=true pnpm run build:web
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
path: dist
|
||||
path: packages/web/dist
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue