Skip to content

select languages to select country #1342

select languages to select country

select languages to select country #1342

Workflow file for this run

name: Demo build
on: [push]
jobs:
build:
name: Demo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm i
- name: Run lint
run: npm run lint
- name: Run build
id: demo_build
run: node ./bin/demoBuild.js
- name: Publish storybook
run: |
cd ./storybook-demo
git push -q -f "https://supcar:${{ secrets.GITHUB_TOKEN }}@github.com/hey-car/heycar-uikit.git" master:gh-pages
# Looking for open PR
- name: Find open PR
uses: jwalton/gh-find-current-pr@v1.2.1
id: find_pr
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# If found an open PR, then add a comment with a link to the demo.
# storybook_url is populated in demo-build.js
- name: Create comment
if: success() && steps.find_pr.outputs.number
uses: peter-evans/create-or-update-comment@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ steps.find_pr.outputs.pr }}
body: |
Compiled a new version [demo](${{ steps.demo_build.outputs.storybook_url }}).
reaction-type: 'rocket'