Skip to content

chore(deps): update actions/setup-node action to v4.2.0 (#1010) #2689

chore(deps): update actions/setup-node action to v4.2.0 (#1010)

chore(deps): update actions/setup-node action to v4.2.0 (#1010) #2689

Workflow file for this run

name: react
on:
pull_request:
paths:
- .github/workflows/react.yaml
- src/**
- '*.json'
- '*.config.*'
- pnpm-lock.yaml
push:
branches:
- main
paths:
- .github/workflows/react.yaml
- src/**
- '*.json'
- '*.config.*'
- pnpm-lock.yaml
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: .node-version
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm run build
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: .node-version
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm run test
- run: pnpm run lint
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: .node-version
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm run format
- uses: int128/update-generated-files-action@65b9a7ae3ededc5679d78343f58fbebcf1ebd785 # v2.57.0