Skip to content

chore(deps): bump dorny/paths-filter from 3.0.2 to 4.0.1 (#24) #71

chore(deps): bump dorny/paths-filter from 3.0.2 to 4.0.1 (#24)

chore(deps): bump dorny/paths-filter from 3.0.2 to 4.0.1 (#24) #71

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
web: ${{ steps.filter.outputs.web }}
docker: ${{ steps.filter.outputs.docker }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: filter
with:
filters: |
web:
- 'web/**'
- 'package.json'
docker:
- 'docker/**'
- 'Dockerfile*'
lint:
needs: changes
if: needs.changes.outputs.web == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: npm
cache-dependency-path: web/package-lock.json
- run: npm ci
- run: npx prisma generate
env:
DATABASE_URL: "file:./ci.db"
- run: npm run lint
continue-on-error: true
typecheck:
needs: changes
if: needs.changes.outputs.web == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: npm
cache-dependency-path: web/package-lock.json
- run: npm ci
- run: npx prisma generate
env:
DATABASE_URL: "file:./ci.db"
- run: npx tsc --noEmit
continue-on-error: true
test:
needs: changes
if: needs.changes.outputs.web == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: npm
cache-dependency-path: web/package-lock.json
- run: npm ci
- run: npx prisma generate
env:
DATABASE_URL: "file:./ci.db"
- run: npm test
continue-on-error: true
build:
needs: changes
if: needs.changes.outputs.web == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: npm
cache-dependency-path: web/package-lock.json
- run: npm ci
- run: npm run build
env:
DATABASE_URL: "file:./ci.db"
docker-lint:
needs: changes
if: needs.changes.outputs.docker == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: web/Dockerfile
failure-threshold: error