Skip to content

Commit

Permalink
chore(ci): check demos on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Oct 6, 2023
1 parent dd29790 commit 42bb45e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Test
run: pnpm test

- name: Check examples
- name: Check examples & demos
run: pnpm check-examples

- name: Upload coverage to Codecov
Expand Down
5 changes: 4 additions & 1 deletion demos/taco-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"author": "Piotr Rosłaniec <p.roslaniec@gmail.com>",
"scripts": {
"start": "webpack serve --mode development",
"build": "tsc --noEmit && rimraf build && webpack --mode production --progress"
"prebuild": "pnpm run check && pnpm run clean",
"clean": "rimraf build",
"build": "webpack --mode production --progress",
"check": "tsc"
},
"dependencies": {
"@nucypher/taco": "workspace:*",
Expand Down
5 changes: 4 additions & 1 deletion demos/taco-nft-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"author": "Piotr Rosłaniec <p.roslaniec@gmail.com>",
"scripts": {
"start": "webpack serve --mode development",
"build": "tsc --noEmit && rimraf build && webpack --mode production --progress"
"prebuild": "pnpm run check && pnpm run clean",
"clean": "rimraf build",
"build": "webpack --mode production --progress",
"check": "tsc"
},
"dependencies": {
"@nucypher/taco": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"exports:lint": "pnpm run --parallel --aggregate-output --reporter append-only --filter './packages/**' exports:lint",
"fix": "pnpm format:fix && pnpm lint:fix && pnpm packages:sort",
"ci:lint": "run-p lint type-check package:check packages:lint exports:lint",
"check-examples": "pnpm run --parallel --aggregate-output --reporter append-only --filter './examples/**' check"
"check-examples": "pnpm run --parallel --aggregate-output --reporter append-only --filter './examples/**' --filter './demos/**' check"
},
"dependencies": {
"@changesets/cli": "^2.26.2",
Expand Down

0 comments on commit 42bb45e

Please sign in to comment.