chore: update CI workflow environment name to preview #481
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: CI | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| workflow_call: # Allow this workflow to be called by other workflows | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: preview | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint | |
| run: pnpm run lint | |
| - name: Typecheck | |
| run: pnpm run typecheck | |
| - name: Validate JSON files | |
| run: pnpm run validate:json-files | |
| - name: Test | |
| run: pnpm run test | |
| env: | |
| NUXT_RPC_URL: ${{ secrets.RPC_URL }} | |
| NUXT_PUBLIC_NIMIQ_NETWORK: ${{ vars.NUXT_PUBLIC_NIMIQ_NETWORK }} |