2020-09-04 05:14:18 +00:00
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
name: lint
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-05-20 15:21:45 +00:00
|
|
|
node: [^10, ^12, ^14, ^16]
|
2020-09-04 05:14:18 +00:00
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
2020-10-30 06:43:28 +00:00
|
|
|
uses: actions/checkout@v2
|
2020-09-04 05:14:18 +00:00
|
|
|
|
|
|
|
- name: node
|
2021-05-20 15:21:45 +00:00
|
|
|
uses: actions/setup-node@v2
|
2020-09-04 05:14:18 +00:00
|
|
|
with:
|
2020-10-30 06:43:28 +00:00
|
|
|
node-version: ${{ matrix.node }}
|
2020-09-04 05:14:18 +00:00
|
|
|
|
|
|
|
- name: install
|
|
|
|
run: yarn install
|
|
|
|
|
|
|
|
- name: lint
|
|
|
|
run: yarn lint
|