Merge pull request #1765 from GowthamShanmugam/DFBUGS-885 #5296
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: Sanity Checks | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master, release*] | |
types: [opened, synchronize, reopened, edited] | |
jobs: | |
sanity-checks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.16.0, 22] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- run: yarn install --prod --frozen-lockfile | |
- run: yarn build | |
- run: yarn build-mco | |
- run: yarn build-client | |
- run: yarn install # Install dev. deps. | |
- run: yarn lint | |
- run: yarn format-test | |
- run: yarn i18n-test | |
- run: yarn test-coverage | |
- run: yarn analyze-odf | |
- run: yarn analyze-mco | |
- run: yarn analyze-client |