Skip to content

Bump @storybook/react from 8.0.9 to 8.1.6 in /packages/elegant-ui #546

Bump @storybook/react from 8.0.9 to 8.1.6 in /packages/elegant-ui

Bump @storybook/react from 8.0.9 to 8.1.6 in /packages/elegant-ui #546

name: Install and Test Elegant UI package
on:
push:
paths:
- packages/elegant-ui/**
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
# Speed up subsequent runs with caching
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
run: cd packages/elegant-ui && npm install
# - name: Build the package
# run: npm run build
- name: Run the tests
run: cd packages/elegant-ui && npm run test