Skip to content

Commit

Permalink
chore: dont run CI job when working on website (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbroma committed May 8, 2024
1 parent e175619 commit f00b23a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,43 @@ name: Test

on:
push:
branches: [ main ]
branches:
- main
paths-ignore:
- "**/*.md"
- "website/**"
pull_request:
paths-ignore:
- "**/*.md"
- "website/**"
workflow_dispatch:

jobs:
verify:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['18', '20', '22']
node_version: ["18", "20", "22"]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3

- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
cache: "pnpm"

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

- name: Lint
run: pnpm lint

- name: Type check
run: pnpm typecheck

- name: Run tests
run: pnpm test

0 comments on commit f00b23a

Please sign in to comment.