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