PSQL #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
pull_request: | |
branches: [main, dev, multiroot] | |
push: | |
branches: [main, dev, multiroot] | |
jobs: | |
pre-commit: | |
env: | |
# Disabled because: [error] Cannot find package 'prettier-plugin-jsdoc' imported from /app/noop.js | |
SKIP: prettier | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
# python-version: '3.12' | |
cache: 'pip' | |
- uses: pre-commit/[email protected] | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm ci --workspaces --include-workspace-root | |
- run: npm run build --ws --if-present | |
- run: npm run lint | |
- run: npm run format | |
- run: npm test --workspaces --if-present | |
- run: npm run build:debug --ws --if-present |