From c9051707c57c1ca48b29c72ff35f1200079fcc6d Mon Sep 17 00:00:00 2001 From: echo8 Date: Mon, 9 Dec 2024 01:27:11 +0900 Subject: [PATCH] build client --- .github/workflows/build-and-deploy.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 90b5bd5..b4822af 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -7,7 +7,6 @@ jobs: runs-on: ubuntu-latest permissions: packages: write - contents: read steps: - name: Check out code uses: actions/checkout@v4 @@ -31,3 +30,20 @@ jobs: push: true tags: ghcr.io/echo8/pastesphere:latest file: Dockerfile.server + + build-deploy-client: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install dependencies + run: npm ci + + - name: Build client + run: npm run build:client