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