Skip to content

Commit

Permalink
config: add pnpm to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Dec 8, 2023
1 parent a3d623a commit 4f43d1b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,29 @@ permissions:
jobs:
amd64:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 15 ]
permissions:
contents: read
packages: write
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Login to ghcr.io
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 4f43d1b

Please sign in to comment.