1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-23 02:58:22 +09:00
cherrypick/.github/workflows/api-cherrypick-js.yml

37 lines
763 B
YAML
Raw Normal View History

2023-06-12 16:35:30 +09:00
name: API report (cherrypick.js)
on: [push, pull_request]
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4.0.0
with:
2023-04-15 10:20:39 +09:00
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build
2023-06-12 16:35:30 +09:00
run: pnpm --filter cherrypick-js build
- name: Check files
2023-06-12 16:35:30 +09:00
run: ls packages/cherrypick-js/built
- name: API report
2023-06-12 16:35:30 +09:00
run: pnpm --filter cherrypick-js api-prod
- name: Show report
if: always()
2023-06-12 16:35:30 +09:00
run: cat packages/cherrypick-js/temp/cherrypick-js.api.md