Add npm install before npm run build

This commit is contained in:
Alex Hsu
2022-10-19 16:41:40 -04:00
parent bd91f20836
commit 832dff7ba4
+4 -2
View File
@@ -22,12 +22,14 @@ jobs:
command: npm run lint
- run:
name: Build package
command: npm run build
command: |
npm install
npm run build
- run:
name: Run tests
command: npm run test -- --headless
workflows:
sample:
run-tests:
jobs:
- test-and-lint