Skip to content

feat(shell): create new proposal page #3018

feat(shell): create new proposal page

feat(shell): create new proposal page #3018

Workflow file for this run

name: CI
on:
push:
branches:
- dev
pull_request:
workflow_dispatch:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
test-and-lint:
name: Test and Lint
runs-on:
- frontend
- self-hosted
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || (github.event_name == 'push' && github.ref == 'refs/heads/dev')
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Setup dependencies
run: yarn install --immutable
- name: Run lint
run: yarn nx run-many --target=lint --parallel=3
- name: Run tests
run: yarn nx run-many --target=test --parallel=3 --ci --code-coverage --skip-cache
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
# build:
# name: Build
# runs-on:
# - frontend
# - self-hosted
# if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || (github.event_name == 'push' && github.ref == 'refs/heads/dev')
# needs: test-and-lint
# env:
# FALCONER_ENDPOINT: ${{ secrets.FALCONER_ENDPOINT }}
# TURNSTILE_SITEKEY: ${{ secrets.TURNSTILE_SITEKEY }}
# timeout-minutes: 15
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: .nvmrc
# cache: yarn
# - name: Setup dependencies
# run: yarn install --immutable
# - name: Build
# run: yarn nx run-many --target=build --parallel=3