From 0c8b29e750b9179c992bb363a63f3172585f0ad7 Mon Sep 17 00:00:00 2001 From: Ran Luo Date: Sat, 20 Apr 2024 22:05:58 +0800 Subject: [PATCH] ci: add build ci (#161) --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5ee5f4a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: 📦 Build + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + build: + if: github.repository == 'marktext/muya' + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: ./.github/actions/setup-node + + - name: 📦 Build + run: pnpm run build