Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

chore(deps): update dependency node to v14.21.3 #660

chore(deps): update dependency node to v14.21.3

chore(deps): update dependency node to v14.21.3 #660

Workflow file for this run

name: Test
env:
CI: "true"
on:
- pull_request
jobs:
test:
name: Test ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node:
- 10
- 12
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm t -- --coverage
- name: Build
run: npm run build
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: "true"
coverage:
name: Coverage Finished
runs-on: ubuntu-latest
needs: test
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: "true"