ci: exécuter lint et tests sur chaque déploiement
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+5
-5
@@ -91,11 +91,11 @@
|
||||
"error",
|
||||
{
|
||||
"capIsNewExceptions": [
|
||||
"CredentialsProvider",
|
||||
"TwitterProvider",
|
||||
"GoogleProvider",
|
||||
"GitHubProvider",
|
||||
"NextAuth"
|
||||
"GET",
|
||||
"POST",
|
||||
"PUT",
|
||||
"DELETE",
|
||||
"PATCH"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user