Skip to content

Commit

Permalink
Setup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zobweyt committed Sep 21, 2024
1 parent 522d608 commit 8e62164
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pnpm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: pnPm

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20]

steps:
- uses: actions/checkout@v4

- name: Setup pnPm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

0 comments on commit 8e62164

Please sign in to comment.