xvfb-action fix

This commit is contained in:
vsrs 2020-05-23 16:24:21 +03:00 committed by GitHub
parent 12ea4a2ba2
commit a09b308b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ jobs:
- run: npm ci - run: npm ci
working-directory: ./editors/code working-directory: ./editors/code
- run: npm audit # || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
working-directory: ./editors/code working-directory: ./editors/code
- run: npm run lint - run: npm run lint
@ -119,8 +119,8 @@ jobs:
- name: Run vscode tests - name: Run vscode tests
uses: GabrielBB/xvfb-action@v1.2 uses: GabrielBB/xvfb-action@v1.2
with: with:
run: npm test run: npm --prefix ./editors/code test
working-directory: ./editors/code # working-directory: ./editors/code # does not work: https://github.com/GabrielBB/xvfb-action/issues/8
- run: npm run package --scripts-prepend-node-path - run: npm run package --scripts-prepend-node-path
working-directory: ./editors/code working-directory: ./editors/code