Transaction panel && E-2396 && B-2710 && E-2372 && B-2711 && E-2373 && B-2712 && E-2380 && B-2713 #2176
Workflow file for this run
This file contains 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: Frontend CI | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- "main" | |
- "hotfix/**" | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
type: boolean | |
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | |
required: false | |
default: false | |
env: | |
NEXT_PUBLIC_ENV: local | |
NODE_OPTIONS: --max_old_space_size=4096 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- run: npm ci | |
- run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- name: Run unit/integration test | |
run: npm run test | |
- name: Setup tmate session for debugging | |
uses: mxschmitt/action-tmate@v3 | |
if: ${{ failure() && inputs.debug_enabled }} |