Skip to content

chore: sync from Nebutra-Sailor@156b45e5e091a8824f6f9e58c7b1b325b2c4d34b #29

chore: sync from Nebutra-Sailor@156b45e5e091a8824f6f9e58c7b1b325b2c4d34b

chore: sync from Nebutra-Sailor@156b45e5e091a8824f6f9e58c7b1b325b2c4d34b #29

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: 22
cache: pnpm
- run: pnpm install --no-frozen-lockfile --ignore-scripts
- name: Build
run: node -e "process.exit(require('./package.json').scripts?.build ? 0 : 1)" && pnpm build || echo 'no build script'

Check failure on line 23 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
- name: Typecheck
run: node -e "process.exit(require('./package.json').scripts?.typecheck ? 0 : 1)" && pnpm typecheck || echo 'no typecheck script'
- name: Test
run: node -e "process.exit(require('./package.json').scripts?.test ? 0 : 1)" && pnpm test || echo 'no test script'