ci: update client publishing #79
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 CI | |
| on: | |
| workflow_call: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| web-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - name: Check formatting | |
| run: pnpm run format:check | |
| - name: Prepare web build dependencies | |
| run: pnpm --filter @solana/rewards-program-web prebuild | |
| - name: Lint web frontend | |
| run: pnpm eslint apps/web | |
| - name: Typecheck web frontend | |
| run: pnpm --filter @solana/rewards-program-web typecheck | |
| - name: Build web frontend | |
| run: pnpm --filter @solana/rewards-program-web exec next build |