Skip to content

Commit

Permalink
refactor: add github token to npmrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
talo242 committed Jul 23, 2024
1 parent 0ebd17c commit 173dbe7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:

steps:
- uses: actions/checkout@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: yarn install & test
run: |
echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> .npmrc
yarn install
yarn test:ci
Expand All @@ -29,13 +28,12 @@ jobs:

- name: yarn install & build
run: |
echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> .npmrc
yarn install
yarn build
test-build-storybook:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@master
Expand All @@ -45,5 +43,6 @@ jobs:

- name: yarn install & build-storybook
run: |
echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> .npmrc
yarn install
yarn build-storybook

0 comments on commit 173dbe7

Please sign in to comment.