Skip to content

v0.2.2

v0.2.2 #36

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: test & lint
on:
push:
branches:
- "main"
- "dev"
pull_request:
branches:
- "main"
- "dev"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: create package-lock.json
run: npm i --package-lock-only --ignore-scripts
- run: npm ci
- name: Run lint
run: npm run lint
- name: Run test
run: npm run test:coverage