Sha256: 3bda42ab594e0ff1a7fdffaefdbad1b4c3295b4f3466e423f3475bbf5e4f2a25

Contents?: true

Size: 1017 Bytes

Versions: 4

Compression:

Stored size: 1017 Bytes

Contents

name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: macos-latest # prevents intermittent Chrome Headless error unlike ubuntu
    name: Ruby ${{ matrix.version }}
    strategy:
      matrix:
        version: ['2.6', '2.7', '3.0']

    steps:
      - uses: actions/checkout@v2
      - name: Cache node modules
        uses: actions/cache@v2
        with:
          # npm cache files are stored in `~/.npm` on Linux/macOS
          path: ~/.npm
          key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
      - name: Set up Ruby ${{ matrix.version }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.version }}
          bundler-cache: true
      - name: Set up Node
        uses: actions/setup-node@v2-beta
        with:
          node-version: '12'
      - name: Install Dependencies
        run: |
          yarn
      - name: Run Tests
        run: |
          yarn test
          bundle exec rake test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shopify_app-19.1.0 .github/workflows/build.yml
shopify_app-19.0.2 .github/workflows/build.yml
shopify_app-19.0.1 .github/workflows/build.yml
shopify_app-19.0.0 .github/workflows/build.yml