remove matrix.os from gh actions

This commit is contained in:
2021-12-07 11:35:33 +03:00
parent e1b1b4a16a
commit 7e8621f6b2

View File

@@ -4,11 +4,8 @@ on: [push, pull_request]
jobs: jobs:
lint: lint:
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: name: Lint
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
name: Test on ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
@@ -16,7 +13,6 @@ jobs:
node-version: "14" node-version: "14"
- run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb" - run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb"
shell: bash shell: bash
if: ${{ success() && matrix.os == 'ubuntu-latest' }}
- run: npm install - run: npm install
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v2