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