Skip to content

feat: init workflow for tests #1

feat: init workflow for tests

feat: init workflow for tests #1

Workflow file for this run

name: Unit Tests
on: [pull_request, push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: pnpm install
run: pnpm i
- name: pnpm lint
run: pnpm lint-and-fix
- name: tests
run: pnpm test