diff --git a/.gitea/workflows/check-pr.yml b/.gitea/workflows/check-pr.yml index eab46d2..a19bea4 100644 --- a/.gitea/workflows/check-pr.yml +++ b/.gitea/workflows/check-pr.yml @@ -22,6 +22,13 @@ jobs: - name: Vérifier les dépendances run: yarn install --frozen-lockfile + - name: Lancer le lint + run: yarn lint + continue-on-error: true + + - name: Lancer les tests + run: yarn test + deploy-beta: needs: check runs-on: ubuntu-latest diff --git a/.gitea/workflows/deploy-beta.yml b/.gitea/workflows/deploy-beta.yml index 357e9fd..d922539 100644 --- a/.gitea/workflows/deploy-beta.yml +++ b/.gitea/workflows/deploy-beta.yml @@ -20,6 +20,13 @@ jobs: - name: Vérifier les dépendances run: yarn install --frozen-lockfile + - name: Lancer le lint + run: yarn lint + continue-on-error: true + + - name: Lancer les tests + run: yarn test + deploy: needs: check runs-on: ubuntu-latest diff --git a/.gitea/workflows/deploy-prod.yml b/.gitea/workflows/deploy-prod.yml index 29297d7..3b1a808 100644 --- a/.gitea/workflows/deploy-prod.yml +++ b/.gitea/workflows/deploy-prod.yml @@ -22,6 +22,13 @@ jobs: - name: Vérifier les dépendances run: yarn install --frozen-lockfile + - name: Lancer le lint + run: yarn lint + continue-on-error: true + + - name: Lancer les tests + run: yarn test + deploy: needs: check runs-on: ubuntu-latest diff --git a/package.json b/package.json index 6c3a460..02b6676 100644 --- a/package.json +++ b/package.json @@ -91,11 +91,11 @@ "error", { "capIsNewExceptions": [ - "CredentialsProvider", - "TwitterProvider", - "GoogleProvider", - "GitHubProvider", - "NextAuth" + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" ] } ],