Skip to content

Commit

Permalink
ci: add test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Jan 12, 2023
1 parent 047fea2 commit 9151482
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install
run: pnpm i

- name: Test
run: pnpm run test

0 comments on commit 9151482

Please sign in to comment.