Skip to content

Commit

Permalink
feat/fix: Add pnpm installation step in GitHub Act
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 6, 2024
1 parent f2149d7 commit 6a1fecc
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js environment
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm run build

- name: Run tests
run: pnpm run test

0 comments on commit 6a1fecc

Please sign in to comment.