Skip to content

fix(ci): use Node 24 for npm 11 OIDC support #24

fix(ci): use Node 24 for npm 11 OIDC support

fix(ci): use Node 24 for npm 11 OIDC support #24

Workflow file for this run

name: Todo App E2E
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
todo-e2e:
name: Run todo app ESLint snapshot
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version: ['22.x']
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org/'
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run todo app ESLint snapshot suite
run: pnpm test:todo-e2e