Skip to content

Factor out library from the cli bundle #229

Factor out library from the cli bundle

Factor out library from the cli bundle #229

Workflow file for this run

name: Node.js CI
on:
pull_request:
branches: [ "main" ]
permissions: {}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x, 24.x]
os: [ubuntu-latest, windows-latest, macos-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Check for change files
if: ${{ !contains(github.event.pull_request.title, '***NO_CI***') }}
run: yarn checkchange
- name: Build, test & lint
run: yarn lage build test lint bundle
- name: Check if files updated
run: git diff --exit-code