Skip to content

chore: add github CI for tests #3

chore: add github CI for tests

chore: add github CI for tests #3

Workflow file for this run

name: Unit Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
prettier-version: [v2, v3]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
run_install: true
- name: Run Tests
run: pnpm run test
working-directory: tests/${{ matrix.prettier-version }}-test