1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-22 10:38:23 +09:00
cherrypick/.github/workflows/api-cherrypick-js.yml
2023-08-21 16:58:14 +09:00

37 lines
763 B
YAML

name: API report (cherrypick.js)
on: [push, pull_request]
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
- run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v3.8.1
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build
run: pnpm --filter cherrypick-js build
- name: Check files
run: ls packages/cherrypick-js/built
- name: API report
run: pnpm --filter cherrypick-js api-prod
- name: Show report
if: always()
run: cat packages/cherrypick-js/temp/cherrypick-js.api.md