From ed2ac9e4f59445ce1fc02908a80acb64cb500983 Mon Sep 17 00:00:00 2001 From: Zhousiru Date: Wed, 24 Jul 2024 22:12:51 +0800 Subject: [PATCH] ci: add build test --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a9c3a5c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + pull_request: + +jobs: + build: + name: Build Test + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up `pnpm` + uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: true + + - name: Build + run: pnpm build