Skip to content

Commit

Permalink
ci: Add Node.js CI with pnpm
Browse files Browse the repository at this point in the history
Install and configure pnpm for Node.js CI

made by ollama-commit
  • Loading branch information
clianor committed Jan 16, 2024
1 parent a19f4b4 commit 023d7e2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node.js CI with pnpm

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "16.x"
cache: "pnpm"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build

0 comments on commit 023d7e2

Please sign in to comment.