|
|
|
@ -11,8 +11,8 @@ jobs:
|
|
|
|
|
node-version: [8, 10, 12, 14, 16]
|
|
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
|
cache: npm
|
|
|
|
@ -24,8 +24,8 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
timeout-minutes: 5
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
|
with:
|
|
|
|
|
cache: npm
|
|
|
|
|
- run: 'npm i && npm run lint'
|
|
|
|
@ -36,8 +36,8 @@ jobs:
|
|
|
|
|
matrix:
|
|
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
|
with:
|
|
|
|
|
cache: npm
|
|
|
|
|
- run: 'npm i && npm run test:unit'
|
|
|
|
|