Merge pull request MisskeyIO#818 from update-host #1962
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: API report (misskey.js) | |
on: | |
push: | |
paths: | |
- packages/misskey-js/** | |
pull_request: | |
paths: | |
- packages/misskey-js/** | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- run: corepack enable | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.node-version' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Build | |
run: pnpm --filter misskey-js build | |
- name: Check files | |
run: ls packages/misskey-js/built | |
- name: API report | |
run: pnpm --filter misskey-js api-prod | |
- name: Show report | |
if: always() | |
run: cat packages/misskey-js/temp/misskey-js.api.md |