Skip to content

Version Packages (#1303) #4975

Version Packages (#1303)

Version Packages (#1303) #4975

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- lts
# Avoid redundant runs for same PRs
concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Cache pnpm store
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-${{ matrix.node-version }}-
- name: Install Dependencies
run: pnpm install --prefer-offline
- name: Build
run: pnpm run build
- name: Run Tests & Lint
run: pnpm run test
- name: Validate Templates
run: |
pnpm run templates:validate-dotfiles
pnpm run templates:validate