add custom formatting #2385
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: Web client CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.3.1] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install & lint | |
run: | | |
cd web/client | |
yarn install --immutable | |
yarn lint | |
- name: Build | |
run: | | |
cd web/client | |
yarn build | |
- name: Test | |
run: | | |
cd web/client | |
yarn test:unit | |
# - name: Upload coverage to Codecov | |
# uses: codecov/[email protected] | |
# with: | |
# token: ${{secrets.CODECOV_TOKEN}} | |
# file: ./client/coverage/coverage-final.json | |
# flags: unittests | |
# name: codecov-umbrella |