Skip to content

Commit

Permalink
add setup script to install browser deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Aug 21, 2022
1 parent d915115 commit 0b0e3ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test and publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 16.9.1
- run: npm ci
- run: npm run setup
- run: npm run check
- uses: actions/upload-artifact@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"build:node": "tsc -p src/node/tsconfig.json",
"debug": "npm run _esbuild -- --format=esm --outdir=debug/dist/browser --servedir=debug",
"build": "rimraf ./dist && npm run build:browser && npm run build:node",
"check": "npm run test && npm run lint:check && npm run format:check"
"check": "npm run test && npm run lint:check && npm run format:check",
"setup": "npm ci && playwright install-deps"
},
"keywords": [],
"author": "detachhead",
Expand Down

0 comments on commit 0b0e3ef

Please sign in to comment.