Explorar el Código

Add separate CI job for linting

No need for X amount of different Node.js version to all run the linting
as part of their CI rutine. Easier to just run that once, completely
separate from the unit tests.
tags/v4.2.0
Phillip Johnsen hace 5 años
padre
commit
042fbbe5da
Se han modificado 1 ficheros con 13 adiciones y 1 borrados
  1. +13
    -1
      .github/workflows/verify.yml

+ 13
- 1
.github/workflows/verify.yml Ver fichero

@@ -3,6 +3,18 @@ name: Verify changes
on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install
- run: npm run test-lint

tests:
runs-on: ubuntu-latest

@@ -21,7 +33,7 @@ jobs:
- name: npm install and test
run: |
npm install
npm test
npm run test-unit

tests-on-legacy:
runs-on: ubuntu-latest


Cargando…
Cancelar
Guardar