Skip to content

Feat(ui-library): add storybook storie examples #1907

Feat(ui-library): add storybook storie examples

Feat(ui-library): add storybook storie examples #1907

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
snapshot-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Get node version
id: node
run: |
echo "::set-output name=version::$(node -v)"
- name: Get node_modules cache
uses: actions/[email protected]
id: node_modules
with:
path: |
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}
- name: Install modules
run: npm ci
- name: Generate tokens
run: npm run tokens:generate
- name: Run Tests
run: npm run test