Skip to content

Commit

Permalink
add pnpm steps to build step
Browse files Browse the repository at this point in the history
  • Loading branch information
will2hew committed Jul 6, 2024
1 parent 2c9b0a1 commit cae03cb
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,28 @@ on:
push:
branches:
- main
- will/docker-ci
tags:
- "*.*.*"

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

Expand All @@ -29,4 +43,4 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: user/app:latest
tags: will2hew/docmost:${{ github.ref_name }}

0 comments on commit cae03cb

Please sign in to comment.