From 1c9012225e798495a1b937bfad1348f763c0293e Mon Sep 17 00:00:00 2001 From: Vann-Dev Date: Sun, 5 May 2024 22:50:10 +0700 Subject: [PATCH] test: add test build --- .github/workflows/test-build.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test-build.yaml diff --git a/.github/workflows/test-build.yaml b/.github/workflows/test-build.yaml new file mode 100644 index 0000000..6832e10 --- /dev/null +++ b/.github/workflows/test-build.yaml @@ -0,0 +1,28 @@ +name: Test Build + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: 8 + + - name: Check out code + uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + + - name: Install dependencies + run: pnpm install + + - name: Build + run: pnpm run build \ No newline at end of file