Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Sep 5, 2024
1 parent bf2a76b commit c11d6e0
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ on:

jobs:
code-quality:
name: Lint, Format, and Type Check
name: Lint and Format
runs-on: ubuntu-latest
permissions:
contents: read
packages: read

steps:
- uses: actions/checkout@v4
Expand All @@ -23,22 +22,11 @@ jobs:
with:
version: 9.1.4

- name: Create .npmrc
run: |
echo "registry=https://registry.npmjs.org" > .npmrc
echo "" >> .npmrc
echo "# Default for @renegade-fi packages" >> .npmrc
echo "@renegade-fi:registry=https://registry.npmjs.org" >> .npmrc
echo "" >> .npmrc
echo "# Specific for @renegade-fi/tradingview-charts" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> .npmrc
echo "//npm.pkg.github.com/:@renegade-fi:tradingview-charts" >> .npmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dev dependencies
run: pnpm install --frozen-lockfile --dev

- run: pnpm run lint
- run: pnpm run format -- --check
- run: pnpm run typecheck

# Remove typecheck if it requires non-dev dependencies
# - run: pnpm run typecheck

0 comments on commit c11d6e0

Please sign in to comment.