Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2

jobs:
build:
working_directory: ~/babel-plugin-css-modules-transform
docker:
- image: circleci/node:10.12.0
steps:
- checkout
- restore_cache:
key: yarndeps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run:
name: Installing javascript dependencies
command: yarn install --cache-folder ~/.yarn-cache
- save_cache:
key: yarndeps-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- ~/.yarn-cache
- run:
name: Linting the source code
command: yarn lint
- run:
name: Testing the source code
command: |
yarn test
# test with babel 7
./install-babel-7.sh
BABEL_7=1 yarn test
20 changes: 0 additions & 20 deletions circle.yml

This file was deleted.