summaryrefslogtreecommitdiff
path: root/.github/workflows/api-misskey-js.yml
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2023-03-30 02:33:19 +0200
committerGitHub <noreply@github.com>2023-03-30 09:33:19 +0900
commitcee1d5e2d01359e6d762a10fc67d4e7c1cc830eb (patch)
tree45eab3096b1983ae5267caab4aa4c5eff77b6e5d /.github/workflows/api-misskey-js.yml
parentNew Crowdin updates (#10407) (diff)
downloadsharkey-cee1d5e2d01359e6d762a10fc67d4e7c1cc830eb.tar.gz
sharkey-cee1d5e2d01359e6d762a10fc67d4e7c1cc830eb.tar.bz2
sharkey-cee1d5e2d01359e6d762a10fc67d4e7c1cc830eb.zip
chore: integrate misskey-js as a workspace item (git subtree) (#10409)
* Additional changes for the merge * api-misskey-js
Diffstat (limited to '.github/workflows/api-misskey-js.yml')
-rw-r--r--.github/workflows/api-misskey-js.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/api-misskey-js.yml b/.github/workflows/api-misskey-js.yml
new file mode 100644
index 0000000000..6411d63bd5
--- /dev/null
+++ b/.github/workflows/api-misskey-js.yml
@@ -0,0 +1,36 @@
+name: API report (misskey.js)
+
+on: [push, pull_request]
+
+jobs:
+ report:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3.3.0
+
+ - run: corepack enable
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v3.6.0
+ with:
+ node-version: 18.x
+ 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