Sha256: 02e6bc348fbf610391298a3fbaa1feae0b1e5dd1bbec903a5a235d7918a1f4f6

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

version: 2
jobs:
  build:
    docker:
      - image: circleci/ruby:2.6-node-browsers
    steps:
      - checkout

      # Bundle install dependencies
      - type: cache-restore
        key: v1-main-{{ checksum "Gemfile.lock" }}

      - run: gem install bundler --version `tail -1 Gemfile.lock`
      - run: bundle install --path vendor/bundle

      - type: cache-save
        key: v1-main-{{ checksum "Gemfile.lock" }}
        paths:
          - vendor/bundle

      # Bundle install dependencies for example app
      - type: cache-restore
        key: v1-example-{{ checksum "example/an_app/Gemfile.lock" }}

      - run: |
          cd example/an_app
          bundle install --path vendor/bundle

      - type: cache-save
        key: v1-example-{{ checksum "example/an_app/Gemfile.lock" }}
        paths:
          - example/an_app/vendor/bundle

      # Yarn dependencies
      - restore_cache:
          keys:
            - v2-yarn-{{ checksum "example/an_app/package.json" }}
            # fallback to using the latest cache if no exact match is found
            - v2-yarn-

      - run: |
          cd example/an_app
          yarn install

      - save_cache:
          paths:
            - example/an_app/node_modules
            - ~/.cache
          key: v2-yarn-{{ checksum "example/an_app/package.json" }}

      - run: bundle exec rake
      - run: ./script/test_example_app

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cypress-rails-0.3.0 .circleci/config.yml
cypress-rails-0.2.0 .circleci/config.yml