Update actions #2
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: orbit-db-ordered-keyvalue tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-okv: | |
name: Ordered keyvalue tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Préparation de Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
- 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 | |
- name: Envoyer couverture à Codecov | |
uses: codecov/codecov-action@v3 |