-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c230dd1
commit f1a1a56
Showing
1 changed file
with
3 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ on: | |
branches: | ||
- main | ||
jobs: | ||
test-node: | ||
name: Node.js test | ||
test-set-db: | ||
name: Set-db tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Préparation de Node.js | ||
|
@@ -28,32 +28,7 @@ jobs: | |
run: pnpm install --lockfile=false | ||
|
||
- name: Vérifier les tests | ||
run: pnpm test:node | ||
|
||
- name: Envoyer couverture à Codecov | ||
uses: codecov/codecov-action@v3 | ||
test-browser: | ||
name: Browser test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Préparation de Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Installer pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: Ouvrir la branche | ||
uses: actions/checkout@v4 | ||
|
||
- name: Nétoyer les dépendances d'installation | ||
run: pnpm install --lockfile=false | ||
|
||
- name: Vérifier les tests | ||
run: pnpm test:browser | ||
run: pnpm test | ||
|
||
- name: Envoyer couverture à Codecov | ||
uses: codecov/codecov-action@v3 |