Commit 43c43277 authored by Jun's avatar Jun

write .npmrc

parent 000b2576
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '10.x'
- run: yarn install - run: npm install
- name: Figma Action - name: Figma Action
uses: primer/[email protected] uses: primer/[email protected]
with: with:
...@@ -25,8 +25,9 @@ jobs: ...@@ -25,8 +25,9 @@ jobs:
env: env:
FIGMA_FILE_URL: ${{ secrets.FIGMA_FILE_URL }} FIGMA_FILE_URL: ${{ secrets.FIGMA_FILE_URL }}
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }} FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
- run: yarn generate - run: npm generate
- run: yarn build - run: npm build
- run: yarn publish - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment