resolves #914 resolves #913 Ajout du bouton d'export et de prévisuali… #792
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: Node applications | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'graphql/**' | |
- 'front/**' | |
- 'export/**' | |
- '.github/workflows/node.yml' | |
pull_request: | |
paths: | |
- 'graphql/**' | |
- 'front/**' | |
- 'export/**' | |
- '.github/workflows/node.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
app: [front, graphql, export] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- name: Install and test | |
working-directory: ${{ matrix.app }} | |
run: npm clean-install-test --no-audit --no-fund | |
- name: Build (if necessary) | |
working-directory: ${{ matrix.app }} | |
run: npm run build --if-present |