Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Jan 20, 2024
1 parent c230dd1 commit f1a1a56
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/action-setup@v2.4.0
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

0 comments on commit f1a1a56

Please sign in to comment.