Skip to content

chore(deps): update node.js to v20.18.1 #1152

chore(deps): update node.js to v20.18.1

chore(deps): update node.js to v20.18.1 #1152

Workflow file for this run

name: Build Check
on:
push:
branches:
- main
- live
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
lint:
name: Lint
uses: ./.github/workflows/re-lint.yml
# test:
build:
name: Build
runs-on: ubuntu-latest
needs: lint
env:
CI: true
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 9
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
- name: Build
run: |
pnpm build