From 4d1dc2010bc2d3edb91bf3688cbf556587f841d9 Mon Sep 17 00:00:00 2001 From: laggu91 Date: Sun, 1 Dec 2024 00:02:12 +0900 Subject: [PATCH] chore: ci --- .github/workflows/ci.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..a6218302 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,34 @@ +name: fienmee CI + +on: + - push + - pull_request + +jobs: + cache-and-install: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + version: 9 + run_install: false + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Build Project + run: pnpm build + + - name: test + run: pnpm test \ No newline at end of file