-
Notifications
You must be signed in to change notification settings - Fork 38
46 lines (39 loc) · 1 KB
/
v1-codegen-main-dryrun.yml
File metadata and controls
46 lines (39 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Codegen Main V1 Dry Run
on:
workflow_dispatch:
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository 🛎️
uses: actions/checkout@v4
with:
submodules: "true"
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: https://registry.npmjs.org/
- name: Update Git Submodules 🔄
run: |
make update-registry
- name: V1 Operations 🛠
run: |
pushd v1
yarn install
yarn symlink
yarn build
yarn symlink
yarn codegen
popd
- name: Check for Changes
run: |
git add .
if ! git diff --staged --quiet; then
echo "GIT_RESULT=Changes detected." >> $GITHUB_ENV
else
echo "GIT_RESULT=No changes to commit." >> $GITHUB_ENV
fi
- name: Git Changes Result
run: |
echo $GIT_RESULT