Skip to content

Commit

Permalink
Merge pull request #35 from bryceosterhaus/master
Browse files Browse the repository at this point in the history
chore: add github CI for tests

Co-authored-by: Hyeonjong <[email protected]>
  • Loading branch information
ony3000 authored Jul 20, 2024
2 parents cff2961 + 13e5a9f commit d4233ed
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit d4233ed

Please sign in to comment.