New kb #686
This file contains hidden or 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 | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - development | |
| jobs: | |
| build: | |
| name: Yarn Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: Install Deps | |
| run: yarn install --frozen-lockfile | |
| - name: Clean API | |
| run: yarn clean:api | |
| - name: Generate API | |
| run: yarn gen:api | |
| - name: Build production bundle | |
| run: yarn build |