Skip to content

Bump actions/setup-node from 6.4.0 to 7.0.0 #709

Bump actions/setup-node from 6.4.0 to 7.0.0

Bump actions/setup-node from 6.4.0 to 7.0.0 #709

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_test_execution_conditions:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
- check_test_execution_conditions
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: ".node-version"
- run: yarn install
- run: yarn run lint
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node:
- "22.22.1"
- "22.23.2"
- "24.18.1"
needs:
- check_test_execution_conditions
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn run test
build:
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
- check_test_execution_conditions
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: ".node-version"
- run: yarn install
- run: yarn run build
env:
NODE_ENV: "production"