Skip to content

Fix bug on VerticalProgress component (#224) #146

Fix bug on VerticalProgress component (#224)

Fix bug on VerticalProgress component (#224) #146

Workflow file for this run

---
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 }}