зеркало из https://github.com/twbs/grunt-bootlint.git
Update CI config
This commit is contained in:
Родитель
a69ff99a81
Коммит
26c99b07ea
|
@ -1,7 +1,9 @@
|
|||
name: Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
CI: true
|
||||
FORCE_COLOR: 2
|
||||
|
||||
jobs:
|
||||
run:
|
||||
|
@ -11,19 +13,19 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node: [6, 8, 10, 12, 14]
|
||||
node: [10, 12, 14, 16]
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: npm install # switch to `npm ci` when Node.js 6.x is dropped
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
|
|
Загрузка…
Ссылка в новой задаче