Skip to content

Commit

Permalink
chore: add build/lint/test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Jun 9, 2024
1 parent b8350e0 commit a9e8413
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build, Lint and Test

on: [pull_request, push]


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.5.0
with:
node-version: '20'
- uses: pnpm/action-setup@v2.2.4
with:
version: 8
- name: Install dependency
run: pnpm install
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Test
run: pnpm test

0 comments on commit a9e8413

Please sign in to comment.