Skip to content

Added More Verification && Updated Docs #93

Added More Verification && Updated Docs

Added More Verification && Updated Docs #93

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build, lint, and test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: 16
- 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: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test -- --ci --coverage
- name: Codecov
run: npx codecov
- name: Build
run: npm run build