Skip to content

Commit

Permalink
add CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
goulvenclech committed May 10, 2024
1 parent 36433df commit 58cb939
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
pull_request:
branches:
- main

jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup PNPM
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"

- name: Install Dependencies
run: pnpm i

- name: Run Tests
run: pnpm run test

0 comments on commit 58cb939

Please sign in to comment.