Skip to content

New test

New test #29

Workflow file for this run

name: Storybook PR Checks
on:
pull_request:
branches:
- master
jobs:
smartui-gihub-action:
name: Execute Storybook build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Find Last CommitId
run: |
API_HOST=https://api.github.com
# Check out the PR branch
git checkout $GITHUB_HEAD_REF
# Get the commit ID of the last commit
COMMIT_ID=$(git rev-parse HEAD)
echo "Last commit ID of PR: $COMMIT_ID"
GITHUB_URL=$API_HOST/repos/$GITHUB_REPOSITORY/statuses/$COMMIT_ID
echo "GITHUB_URL: $GITHUB_URL"
echo "GITHUB_URL=$GITHUB_URL" >> $GITHUB_ENV
- name: Install Dependencies
run: |
npm install
npm install @lambdatest/smartui-storybook -g
- name: Execute storybook build1
run: |
export PROJECT_TOKEN=1432185#56f90a1c-87b9-4c41-a19c-f1c18063bc3c#telus-SB
smartui --version
smartui storybook ./story-dashlane --config .smartui.json