Skip to content

Commit bb99cbe

Browse files
Copilotfregante
andcommitted
Remove NODE_OPTIONS and add demo build to CI
- Removed unnecessary NODE_OPTIONS from build:demo and watch:demo scripts - Added Demo job to CI workflow to build demo on every push/PR Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
1 parent 0bcc1be commit bb99cbe

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,13 @@ jobs:
3434
node-version-file: package.json
3535
- run: npm install
3636
- run: npx vitest
37+
38+
Demo:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: actions/setup-node@v4
43+
with:
44+
node-version-file: package.json
45+
- run: npm install
46+
- run: npm run build:demo

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
],
3030
"scripts": {
3131
"test": "xo && tsd && vitest run",
32-
"build:demo": "NODE_OPTIONS='' vite build demo",
33-
"watch:demo": "NODE_OPTIONS='' vite demo"
32+
"build:demo": "vite build demo",
33+
"watch:demo": "vite demo"
3434
},
3535
"xo": {
3636
"parser": "@typescript-eslint/parser",

0 commit comments

Comments
 (0)