Build before test
This commit is contained in:
parent
b19c78bc0a
commit
9854409ece
1 changed files with 6 additions and 1 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
|
@ -22,15 +22,20 @@ jobs:
|
|||
node-version: 18
|
||||
cache: npm
|
||||
|
||||
- run: npm run build
|
||||
|
||||
# Working around https://github.com/npm/cli/issues/4828
|
||||
# - run: npm ci
|
||||
|
||||
- run: npm install --no-package-lock
|
||||
|
||||
- name: Run client tests
|
||||
working-directory: ./client
|
||||
run: npm test
|
||||
|
||||
- run: npm run build
|
||||
- name: Run cli tests
|
||||
working-directory: ./cli
|
||||
run: npm test
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue