Skip to content

Commit

Permalink
Merge branch 'basic-emotion' of https://github.com/rangle/radius into…
Browse files Browse the repository at this point in the history
… basic-emotion
  • Loading branch information
sumitarora committed Apr 19, 2022
2 parents 866af15 + 177b2a4 commit 164c445
Show file tree
Hide file tree
Showing 9 changed files with 20,598 additions and 12,287 deletions.
60 changes: 60 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# JavaScript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2.1
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:lts

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4

working_directory: ~/repo

steps:
- checkout

# Download and cache dependencies
# - restore_cache:
# keys:
# - yarn-packages-{{ checksum "yarn.lock" }}

- run:
name: Install Dependencies
command: npm install

- run:
name: Build Component Library
command: npm run build

- run:
name: Build Storybook
command: npm run build-storybook

# - save_cache:
# paths:
# - node_modules
# - packages/app/node_modules
# - packages/ds/node_modules
# key: yarn-packages-{{ checksum "yarn.lock" }}

# - run:
# name: Lint Component Library
# command: yarn workspace ds lint

- run:
name: Test Component Library
command: npm run test

# - run:
# name: Build Demo App
# command: yarn workspace app build

# - run:
# name: Run Visual Tests
# command: yarn workspace ds run chromatic
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ yarn-error.log*

# IDE files
.idea/

# Local Netlify folder
.netlify
12 changes: 8 additions & 4 deletions .storybook/storybook.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import initStoryshots from '@storybook/addon-storyshots';
// import initStoryshots from '@storybook/addon-storyshots';

initStoryshots({
storyKindRegex: /^((?!.*?Spinner|Icons).)*$/,
});
// initStoryshots({
// storyKindRegex: /^((?!.*?Spinner|Icons).)*$/,
// });

test('placeholder', () => {
expect(true).toBe(true);
});
Loading

0 comments on commit 164c445

Please sign in to comment.