Skip to content

Lint & Test

Lint & Test #8

Workflow file for this run

name: Lint & Test
on: [push]
jobs:
build:
name: Lint & Test
strategy:
matrix:
os: [ubuntu-latest]
node: [14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
with:
version: 7.4.1
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test