Skip to content

Commit

Permalink
chore(pnpm): setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mijailr committed Jan 29, 2024
1 parent b75727d commit e41fdb3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: branch
run-name: Publishing images for branch ${{ github.ref_name }}
on:
workflow_dispatch:
push:
branches-ignore:
- "master"
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'

- name: Build Dashboard
working-directory: ./dashboard
run: |
npm install pnpm --global
pnpm install
pnpm build
- uses: actions/upload-artifact@v4
with:
name: nextjs
Expand Down

0 comments on commit e41fdb3

Please sign in to comment.