Page MenuHomePhabricator

D5797.diff
No OneTemporary

D5797.diff

diff --git a/.buildkite/jsi_codegen.yml b/.buildkite/jsi_codegen.yml
new file mode 100644
--- /dev/null
+++ b/.buildkite/jsi_codegen.yml
@@ -0,0 +1,13 @@
+steps:
+ - label: 'JSI Codegen'
+ command:
+ - '(pkill flow || true)'
+ - 'yarn cleaninstall --frozen-lockfile --skip-optional --network-timeout 180000'
+ - 'cd native && yarn codegen-jsi && git diff --exit-code'
+ plugins:
+ - docker#v3.13.0:
+ image: 'node:16.13-bullseye'
+ always-pull: true
+ workdir: /comm
+ agents:
+ - 'autoscaling=true'
diff --git a/.github/workflows/jsi_codegen.yml b/.github/workflows/jsi_codegen.yml
new file mode 100644
--- /dev/null
+++ b/.github/workflows/jsi_codegen.yml
@@ -0,0 +1,23 @@
+name: JSI Codegen
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ types: [opened, reopened]
+
+jobs:
+ build:
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: npm install -g yarn
+ run: npm install -g yarn
+
+ - name: yarn --frozen-lockfile --network-timeout 180000
+ run: yarn --frozen-lockfile --network-timeout 180000
+
+ - name: '[native] JSI Codegen'
+ working-directory: ./native
+ run: yarn codegen-jsi && git diff --exit-code

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 12:48 PM (18 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2687703
Default Alt Text
D5797.diff (1 KB)

Event Timeline