mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-12-03 12:35:59 +00:00
Improve github actions CI
This commit is contained in:
parent
57b0d6b97e
commit
75d9762f41
15
.github/workflows/vscode-test.yaml
vendored
15
.github/workflows/vscode-test.yaml
vendored
@ -10,15 +10,22 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-11, ubuntu-latest, windows-latest]
|
||||
os:
|
||||
- macos-11
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
node_version:
|
||||
- 16
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 10.x
|
||||
node-version: ${{ matrix.node_version }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
- run: npm ci
|
||||
- run: xvfb-run -a npm test
|
||||
if: runner.os == 'Linux'
|
||||
|
Loading…
Reference in New Issue
Block a user