Fix patchs successifs de StoreNode
qui ne conservaient pas toutes l…
#96
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
on: | |
push: | |
branches: | |
- master | |
permissions: | |
actions: read | |
checks: write | |
contents: read | |
id-token: write | |
pages: write | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: node 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: install | |
run: npm install | |
- name: build | |
run: npm run build | |
- name: eslint | |
run: npm run eslint | |
- name: test | |
run: npm run test-ci | |
- name: publish test results | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Tests | |
path: test-report.xml | |
reporter: jest-junit | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: node 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: install | |
run: npm install | |
- name: build | |
run: npm run build | |
- name: docgen | |
run: npm run docgen | |
- name: build | |
run: npm run docs-build | |
- name: upload | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: docs | |
- name: deploy | |
uses: actions/deploy-pages@v3 | |
with: | |
token: ${{ github.token }} |