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 3a0bd2d commit dd29654
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,22 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://npm.pkg.github.com'
scope: '@renegade-fi'

- uses: pnpm/action-setup@v2
with:
version: 9.1.4

- 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=${GITHUB_TOKEN}" >> .npmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: pnpm run lint
- run: pnpm run format -- --check
Expand Down

0 comments on commit dd29654

Please sign in to comment.