restore writing .npmrc
Showing
... | @@ -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 }} |
Please register or sign in to comment