Skip to content

Commit

Permalink
✅ Add testing run for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckcarpenter authored and RobbieTheWagner committed Mar 29, 2024
1 parent 88501ed commit 87c5431
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/package-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Continous Integration Flow for packages/react
on:
push:
branches:
- master
paths: ['packages/react/**']
pull_request:
paths:
- 'packages/react/**'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- id: test
name: Run test
run: |
pnpm -F react-shepherd test

0 comments on commit 87c5431

Please sign in to comment.