From cae03cbb91dfd6a27ea4a26497141c581e02bf5c Mon Sep 17 00:00:00 2001 From: Will H Date: Sat, 6 Jul 2024 21:17:51 +1200 Subject: [PATCH] add pnpm steps to build step --- .github/workflows/build-and-push.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 5c290de4..f003ead5 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - will/docker-ci tags: - "*.*.*" @@ -12,6 +11,21 @@ jobs: docker: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + cache: "pnpm" + + - name: Install pnpm + run: npm install -g pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -29,4 +43,4 @@ jobs: uses: docker/build-push-action@v6 with: push: true - tags: user/app:latest + tags: will2hew/docmost:${{ github.ref_name }}