Skip to content

Commit

Permalink
CI: Build packages without run yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Apr 4, 2024
1 parent d33c37d commit d40fd56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
run: sudo apt-get --yes install gjs libappindicator3-dev libgda-5.0-dev libgirepository1.0-dev libgtk-3-dev libgtk-4-dev libgtksourceview-3.0-dev libnotify-dev libsoup2.4-dev libsoup-3.0-dev libwebkit2gtk-4.0-dev libadwaita-1-dev gnome-shell-common libmutter-10-dev libgcr-3-dev libgnome-desktop-3-dev build-essential gobject-introspection libgirepository1.0-dev libcairo2-dev
- run: yarn install
- run: yarn run build
- run: yarn run build:types:packages
- run: yarn run build:types:packages:no-install
- name: Show diff
run: git diff --submodule | cat
- run: NODE_OPTIONS=--max_old_space_size=9216 yarn run validate:types:packages
- run: yarn install
- run: NODE_OPTIONS=--max_old_space_size=9216 yarn run validate:types:packages
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@
"build:examples": "yarn workspaces foreach -v --all --include '@ts-for-gir-example/*' --parallel run build",
"build:all": "yarn build && yarn build:examples",
"start:cli-examples": "yarn workspace @ts-for-gir-example/glib-2-spawn-command-example run start && yarn workspace @ts-for-gir-example/gio-2-cat-example run start",
"build:types:packages": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js' && yarn install",
"build:types:packages:gtk4": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js' && yarn install",
"build:types:packages:no-install": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js'",
"build:types:packages": "yarn build:types:packages:no-install && yarn install",
"build:types:packages:gtk4:no-install": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js'",
"build:types:packages:gtk4": "yarn build:types:packages:gtk4:no-install && yarn install",
"build:types:local": "yarn ts-for-gir generate --configName='.ts-for-gir.all.rc.js'",
"build:types:local:gtk4": "yarn ts-for-gir generate --configName='.ts-for-gir.gtk4.rc.js'",
"build:types": "yarn build:types:local",
Expand Down

0 comments on commit d40fd56

Please sign in to comment.