From 6db7f310f2bc3a69ab25c808f4abfebc584f1743 Mon Sep 17 00:00:00 2001 From: Collin Herber Date: Wed, 10 Jul 2024 12:37:01 -0400 Subject: [PATCH] chore(ci): add build steps to action --- .github/workflows/publish.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 494e7a6..2ba8177 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,6 +29,20 @@ jobs: with: fetch-depth: 0 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + + - name: Run pnpm install + run: pnpm i + + - name: Run pnpm build + run: pnpm run build + - name: Login to Docker registry uses: docker/login-action@v3 with: