Commit c8a580fd authored by leadream's avatar leadream

restore writing .npmrc

parent 6f6c0cf1
...@@ -17,7 +17,6 @@ jobs: ...@@ -17,7 +17,6 @@ jobs:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '10.x'
always-auth: true
- run: yarn install - run: yarn install
- name: Figma Action - name: Figma Action
uses: primer/[email protected] uses: primer/[email protected]
...@@ -28,7 +27,7 @@ jobs: ...@@ -28,7 +27,7 @@ jobs:
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }} FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
- run: yarn generate - run: yarn generate
- run: yarn build - run: yarn build
# - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- run: yarn publish - run: yarn 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