mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-14 19:25: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:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-11, ubuntu-latest, windows-latest]
|
os:
|
||||||
|
- macos-11
|
||||||
|
- ubuntu-latest
|
||||||
|
- windows-latest
|
||||||
|
node_version:
|
||||||
|
- 16
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 10.x
|
node-version: ${{ matrix.node_version }}
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: '**/package-lock.json'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: xvfb-run -a npm test
|
- run: xvfb-run -a npm test
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
Loading…
Reference in New Issue
Block a user