Skip to content

Update dependencies and move to pnpm #78

Update dependencies and move to pnpm

Update dependencies and move to pnpm #78

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
name: Build, test, and lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: vclogin
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build vclogin
run: pnpm run build
- name: Test vclogin
run: pnpm run test
- name: Lint vclogin
run: pnpm run lint