Skip to content

chore: update CI workflow environment name to preview #481

chore: update CI workflow environment name to preview

chore: update CI workflow environment name to preview #481

Workflow file for this run

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 }}