Skip to content

Commit

Permalink
🧪 [Tests] Install vitest and author suite (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi authored Feb 4, 2023
1 parent 279282d commit cbf3729
Show file tree
Hide file tree
Showing 5 changed files with 2,440 additions and 271 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-months-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'emitten': minor
---

Author test suite and require tests to pass on PRs.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test
on: [push]

jobs:
test:
name: Run test suites
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup Node 18.x to install with private scope
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Test
run: npm run test
Loading

0 comments on commit cbf3729

Please sign in to comment.