Skip to content

Add block encoding test #57

Add block encoding test

Add block encoding test #57

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16']
steps:
- name: Begin CI...
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Use cached node_modules
uses: actions/cache@v1
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node }}
restore-keys: |
nodeModules-
- name: Install dependencies
run: npm ci
env:
CI: true
- name: Lint
run: npm run lint
env:
CI: true
- name: Test
run: npm test -- --ci --coverage --maxWorkers=2
env:
CI: true
- name: Build
run: npm run build
env:
CI: true