Skip to content

fix(deps): update eslint monorepo to v10 (major) #901

fix(deps): update eslint monorepo to v10 (major)

fix(deps): update eslint monorepo to v10 (major) #901

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
env:
NX_CLOUD_DISTRIBUTED_EXECUTION: true
NX_CLOUD_ACCESS_TOKEN: '${{ secrets.NX_CLOUD_ACCESS_TOKEN }}'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
fetch-depth: 0
- name: Derive SHAs for nx affected
uses: nrwl/nx-set-shas@v4
- uses: actions/setup-node@v6
with:
node-version: '24'
- uses: pnpm/action-setup@v4.2.0
with:
run_install: false
- name: Initialize Nx Cloud
run: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js"
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build packages
run: npx nx affected -t build:ci
- name: Stop Nx Cloud Session
run: npx nx fix-ci
if: always()