Skip to content

chore(deps): upgrade dependencies #14

chore(deps): upgrade dependencies

chore(deps): upgrade dependencies #14

Workflow file for this run

name: Build
on:
pull_request: {}
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
echo /opt/hostedtoolcache/node/22.10.0/x64/bin >> $GITHUB_PATH
- name: Check node
run: |
echo $PATH
which node
which npm
node -v
npm -v
- name: Restore NPM node_modules
uses: actions/cache/[email protected]
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Install deps
run: |
corepack enable
corepack prepare pnpm@latest --activate
pnpm install
- name: Cache NPM dependencies
uses: actions/[email protected]
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Disable Next.js Telemetry
run: echo "NEXT_TELEMETRY_DISABLED=1" >> "$GITHUB_ENV"
- name: Run build
run: pnpm run build