Skip to content

Commit

Permalink
chore: prepare repo for Algolia release
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Sep 3, 2020
1 parent d6c4674 commit 685ee23
Show file tree
Hide file tree
Showing 133 changed files with 2,440 additions and 9,215 deletions.
33 changes: 3 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ aliases:
- &install_yarn_version
name: Install specific Yarn version
command: |
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.5
echo 'export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"' >> $BASH_ENV
- &restore_yarn_cache
Expand All @@ -21,18 +21,10 @@ aliases:
command: yarn install

defaults: &defaults
working_directory: ~/autocompletejs
working_directory: ~/autocomplete
docker:
- image: circleci/node:12.14.1

cypress: &cypress
working_directory: ~/autocompletejs
docker:
- image: cypress/browsers:node13.8.0-chrome81-ff75
environment:
## this enables colors in the output
TERM: xterm

version: 2.1

jobs:
Expand Down Expand Up @@ -63,7 +55,7 @@ jobs:
command: yarn run lint
- run:
name: Type Checking
command: yarn run type-check
command: yarn test:types

test_unit:
<<: *defaults
Expand All @@ -89,24 +81,6 @@ jobs:
name: Release if needed
command: yarn run shipjs trigger

test_cypress:
<<: *cypress
steps:
- checkout
- run: *install_yarn_version
- restore_cache: *restore_yarn_cache
- run: *run_yarn_install
- save_cache: *save_yarn_cache
- run:
name: Cypress test Actions
command: yarn run cy:run
- store_test_results:
path: cypress-results
- store_artifacts:
path: cypress\screenshots
- store_artifacts:
path: cypress\videos

workflows:
version: 2.1
ci:
Expand All @@ -123,7 +97,6 @@ workflows:
filters:
branches:
only: next
- test_cypress
- release:
filters:
branches:
Expand Down
2 changes: 0 additions & 2 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
GITHUB_TOKEN=
CYPRESS_RECORD_KEY=
PERCY_TOKEN=
7 changes: 0 additions & 7 deletions .percy.json

This file was deleted.

20 changes: 0 additions & 20 deletions .storybook/config.ts

This file was deleted.

110 changes: 0 additions & 110 deletions .storybook/decorators/index.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions .storybook/preview-head.html

This file was deleted.

172 changes: 0 additions & 172 deletions .storybook/static/autocomplete.css

This file was deleted.

Loading

0 comments on commit 685ee23

Please sign in to comment.