Skip to content

Configure pnpm on CI #6

Configure pnpm on CI

Configure pnpm on CI #6

Workflow file for this run

name: "[core] Check module"
on:
push:
pull_request:
paths:
core
!core/**.md
env:
WORKING_DIRECTORY: core
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
sparse-checkout: ${{ env.WORKING_DIRECTORY }}
- name: Install pnpm
run: npm install -g pnpm
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
working-directory: ${{ env.WORKING_DIRECTORY }}

Check failure on line 32 in .github/workflows/check-core.yml

View workflow run for this annotation

GitHub Actions / [core] Check module

Invalid workflow file

The workflow is not valid. .github/workflows/check-core.yml (Line: 32, Col: 9): Unexpected value 'working-directory'
- name: Lint & format
run: |
make check
working-directory: ${{ env.WORKING_DIRECTORY }}