Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack committed Nov 10, 2024
1 parent 6ce3bba commit c2a84ba
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "20.x"
- "22.x"

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- uses: pnpm/actions-setup@v4
- run: pnpm install
- name: Build
run: pnpm run -w build
- name: Test
run: pnpm run -w test

0 comments on commit c2a84ba

Please sign in to comment.