Skip to content

Commit 5b27fde

Browse files
committed
ci: Fix linking (fixup linter)
1 parent 1b19db0 commit 5b27fde

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ jobs:
1414
version: 'v0.3.0'
1515
token: ${{ secrets.GITHUB_TOKEN }}
1616

17+
- name: Setup npm for GitHub Packages
18+
run: |
19+
echo -e "\n//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc
20+
echo -e "\n//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> ~/.npmrc
21+
echo -e "\n//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
22+
echo -e "\n//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
27+
- name: Link and install packages
28+
run: npm run build:link
29+
1730
- name: Generate Sourcemap
1831
run: npm run build:sourcemap
1932

0 commit comments

Comments
 (0)