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
|
node-version: 18
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
|
- run: npm run build
|
||||||
|
|
||||||
# Working around https://github.com/npm/cli/issues/4828
|
# Working around https://github.com/npm/cli/issues/4828
|
||||||
# - run: npm ci
|
# - run: npm ci
|
||||||
|
|
||||||
- run: npm install --no-package-lock
|
- run: npm install --no-package-lock
|
||||||
|
|
||||||
- name: Run client tests
|
- name: Run client tests
|
||||||
working-directory: ./client
|
working-directory: ./client
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
- run: npm run build
|
- name: Run cli tests
|
||||||
|
working-directory: ./cli
|
||||||
|
run: npm test
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue