diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 71b37d6..0e5e9ca 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -7,6 +7,16 @@ on: pull_request: jobs: + composer-validate: + runs-on: ubuntu-latest + steps: + - uses: shivammathur/setup-php@v2 + with: + php-version: '8.3' + - uses: actions/checkout@v4 + - name: Validate + run: composer validate --strict --check-lock + test: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 2134a05..95a6d3a 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -7,6 +7,18 @@ on: pull_request: jobs: + dedupe: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8.14.1 + - name: Install dependencies + run: pnpm install + - name: Check dedupe + run: pnpm dedupe --check + test: runs-on: ubuntu-latest steps: diff --git a/.npmrc b/.npmrc index 093246b..4f94a8e 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ engine-strict=true +strict-peer-dependencies=true use-node-version=20.11.0