Skip to content

Commit

Permalink
setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AkifumiSato committed Aug 23, 2023
1 parent 259a2a4 commit 665234c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
pull_request:
branches: [main]

jobs:
Test:
runs-on: ubuntu-latest
timeout-minutes: 30
name: Run test
steps:
- uses: actions/checkout@v3
- name: Install and cache nodejs
uses: actions/setup-node@v3
with:
node-version: '18'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Install packages
run: pnpm install
- name: Show coverage
run: pnpm test -- --coverage

0 comments on commit 665234c

Please sign in to comment.