Skip to content

transfer dialog: set side after dep #24

transfer dialog: set side after dep

transfer dialog: set side after dep #24

Workflow file for this run

name: Code Quality
on:
pull_request:
branches: [main]
jobs:
code-quality:
name: Lint, Format, and Type Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v2
with:
version: 9.1.4
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Create .npmrc
run: |
echo "registry=https://registry.npmjs.org" > .npmrc
echo "@renegade-fi:registry=https://registry.npmjs.org" >> .npmrc
echo "@renegade-fi/tradingview-charts:registry=https://npm.pkg.github.com" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.PKG_GITHUB_TOKEN }}" >> .npmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.PKG_GITHUB_TOKEN }}
- name: Run linting
run: pnpm run lint
- name: Run formatting check
run: pnpm prettier --check .
- name: Run type checking
run: pnpm run typecheck