Update codecov/codecov-action action to v4 - autoclosed #245
Workflow file for this run
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
name: Tests Bohr-DB | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests-et-couverture: | |
name: Test on Node.js | |
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 | |
- name: Envoyer couverture à Codecov | |
uses: codecov/codecov-action@v4 |