back to yarn
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: npm install | - run: yarn install | ||
- name: Figma Action | - name: Figma Action | ||
uses: primer/[email protected] | uses: primer/[email protected] | ||
with: | with: | ||
... | @@ -25,9 +25,9 @@ jobs: | ... | @@ -25,9 +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: npm generate | - run: yarn generate | ||
- run: npm 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: npm 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