-
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
4dc6542
commit b7ee275
Showing
7 changed files
with
48 additions
and
610 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
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,7 +7,7 @@ on: | |
branches: | ||
- main | ||
jobs: | ||
tests-and-coverage: | ||
test-node: | ||
name: Node.js test | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -28,7 +28,32 @@ jobs: | |
run: pnpm install --lockfile=false | ||
|
||
- name: Vérifier les tests | ||
run: pnpm test | ||
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 | ||
|
||
- name: Envoyer couverture à Codecov | ||
uses: codecov/codecov-action@v3 |
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
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
Oops, something went wrong.