Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Sep 5, 2024
1 parent c11d6e0 commit 4241c35
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read

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

- name: Install dev dependencies
run: pnpm install --frozen-lockfile --dev
- 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 }}

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

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

0 comments on commit 4241c35

Please sign in to comment.