Files
suwayomi-material-you-webui/.github/workflows/build_pull_request.yml
schroda 649fa1e932 Fix installing pnpm in github actions
The action is buggy and does not read the "packagerManager" field from the "package.json" despite saying so in its documentation
2026-05-15 21:33:41 +02:00

33 lines
598 B
YAML

name: CI Pull Request
on:
pull_request:
jobs:
build:
name: ci-pull-request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up NodeJs
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- uses: pnpm/action-setup@v6
name: Install pnpm
with:
version: 11.1.2
cache: true
- name: Install modules
run: pnpm ci
- name: Run ESLint
run: pnpm lint
- name: Run TSC
run: pnpm tsc
- name: Build app
run: pnpm build