From 50294b151900ae64af283e9d704a1d591d4eb7a0 Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Sun, 20 Apr 2025 11:17:31 +0800 Subject: [PATCH] Add .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..1ed4a90 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,24 @@ +name: 'CI' + +on: + push: + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: 🛠 setup pnpm + uses: pnpm/action-setup@v4.0.0 + + - name: ⚙ Install dependencies + run: pnpm i + + - name: ⌨️ Lint + run: pnpm lint