Skip to content

Commit

Permalink
chore: add test running for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dnotes committed Dec 17, 2024
1 parent 176dbdc commit ca8821d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Test PR

on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Install playwright deps
run: pnpm -w run playwright-install-ci

- name: Run Tests
run: pnpm -w run test

0 comments on commit ca8821d

Please sign in to comment.