Skip to content

Commit

Permalink
chore: remove path filter in tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay-Karia authored Nov 25, 2024
1 parent 1cbc9c3 commit b854a89
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,13 @@ on:
workflow_dispatch:

jobs:
changes:
runs-on: ubuntu-latest
outputs:
root: ${{ steps.filter.outputs.root }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
root:
- '!{playground,docs}/**'
- '*.{ts,tsx,js,jsx,json}'
- 'package.json'
- 'tsconfig.json'
test-root:
needs: changes
if: ${{ needs.changes.outputs.root == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm test

0 comments on commit b854a89

Please sign in to comment.