feat: add main table #7
Workflow file for this run
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: Web build | |
| env: | |
| NODE_VERSION: 22.19.0 | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup nodejs | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| registry-url: "https://registry.npmjs.org" | |
| scope: "@helpwave" | |
| - name: Setup npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: npm-cache-${{ runner.os }}-${{ hashFiles('web/package-lock.json') }} | |
| restore-keys: | | |
| npm-cache-${{ runner.os }}- | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build Next.js | |
| run: npm run build | |
| - name: Upload Next.js build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: next-build | |
| path: web/.next |