Sha256: fb9da127b09d447513d477e3c2206896ec7b4d75acc459da90955fc50bd75ebf

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

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.7', '3.0', '3.1', '3.2']

    steps:
      - uses: actions/checkout@v3
      - name: Cache node modules
        uses: actions/cache@v3
        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@v3
        with:
          node-version: '18'
      - name: Install Yarn Dependencies
        run: yarn
      - name: Run Yarn Tests
        run: yarn test
      - name: Run Ruby Tests
        run: bundle exec rake test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shopify_app-21.10.0 .github/workflows/build.yml
shopify_app-21.9.0 .github/workflows/build.yml
shopify_app-21.8.1 .github/workflows/build.yml
shopify_app-21.8.0 .github/workflows/build.yml