Skip to content

Commit

Permalink
ci: Set up CI with GitHub Actions to run Vitest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
waynexia committed May 18, 2024
1 parent 873e850 commit 0a47258
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '21'
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test run

0 comments on commit 0a47258

Please sign in to comment.