Fix bug on VerticalProgress component (#224) #146
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 to NPM | |
on: | |
push: | |
branches: master | |
jobs: | |
npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Setup .npmrc file to publish to npm | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Check if version has been updated | |
id: check | |
uses: EndBug/version-check@v2 | |
with: | |
diff-search: true | |
- name: Install dependencies | |
if: steps.check.outputs.changed == 'true' | |
run: yarn install | |
- name: Build Lib | |
if: steps.check.outputs.changed == 'true' | |
run: yarn build-lib | |
- name: Create tag | |
if: steps.check.outputs.changed == 'true' | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "[email protected]" | |
echo y | ./devtools/create_tag.sh | |
- name: Publish to npm | |
if: steps.check.outputs.changed == 'true' | |
run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |