Sha256: 67c12c6f023135a7b04da5e82f8d81baeafcc01d2a8f291d42d44730717591b8

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

name: Node based checks

on:
  push:
    branches:
      - 'main'
  pull_request:

concurrency:
  # Pushing new changes to a branch will cancel any in-progress CI runs
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  lint:
    name: Linting
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - uses: actions/setup-node@v4
        with:
          node-version: 20.x
          cache: yarn

      - name: Install dependencies
        run: yarn --frozen-lockfile --non-interactive --prefer-offline

      - name: Node eslint
        run: yarn lint
  test:
    name: Testing
    strategy:
      matrix:
        os: [ubuntu-latest]
        node: [14.x, 16.x, 18.x, 20.x]

    runs-on: ${{ matrix.os }}

    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - name: Use Node.js ${{ matrix.node }}
        uses: actions/setup-node@v4
        with:
          node-version: ${{ matrix.node }}
          cache: yarn

      - name: Install dependencies
        run: yarn --frozen-lockfile --non-interactive --prefer-offline

      - name: Jest Specs
        run: yarn test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shakapacker-8.2.0 .github/workflows/node.yml
shakapacker-8.1.0 .github/workflows/node.yml
shakapacker-8.0.2 .github/workflows/node.yml
shakapacker-8.0.1 .github/workflows/node.yml