Skip to content

Commit

Permalink
chore: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Sep 8, 2023
1 parent 93baa41 commit 3f15e9d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches:
- main

pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

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

- name: Setup PNPM
uses: pnpm/action-setup@v2.4.0
with:
version: 8.7.4

- name: Install
run: pnpm i

- name: Lint
run: pnpm lint

- name: Build
run: pnpm build

- name: Test
run: pnpm test

0 comments on commit 3f15e9d

Please sign in to comment.