Skip to content

Update nodejs.yml

Update nodejs.yml #5

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- run: pnpm i
- run: pnpm run lint --if-present
- run: pnpm test
- run: pnpm run build --if-present
env:
CI: true