Docs(web-react): Introduce stories to the rest of the components #DS-476 #948
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '**' | |
jobs: | |
publish: | |
if: ${{ startsWith(github.ref, 'refs/tags/') }} | |
name: Publish package | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useRollingCache: true | |
- name: Build | |
run: yarn build | |
- name: Authenticate npm | |
run: ./bin/ci/npm-auth.sh | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish | |
run: make publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |