feat: Improve conditional showing of AnalyticStats #326
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: Build All with Node versions 14, 16.16 | |
on: | |
push: | |
branches: [main, dev] | |
paths: | |
- "api/**" | |
- "client/**" | |
- ".github/workflows/build.yaml" | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '14', '16.16' ] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: npm 7 | |
run: npm install -g npm@7 | |
- name: Build | |
run: | | |
cd client | |
npm install | |
npm run build | |
cd ../api | |
npm install | |
npm run build |