Skip to content

Commit

Permalink
automate testing (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcho21 authored Dec 21, 2023
1 parent ed59344 commit 4ae2c5b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test

on:
workflow_dispatch:
push:
branches: [main, dev]

jobs:
test:
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v4



- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: pnpm install --frozen-lockfile



- name: Run test
run: pnpm test

- name: Check if buildable
run: pnpm tsc --noEmit

0 comments on commit 4ae2c5b

Please sign in to comment.