From 2474b264ec022167329ac3038f956f1d38e92169 Mon Sep 17 00:00:00 2001 From: Pascal Garber Date: Sun, 25 Feb 2024 02:27:00 +0100 Subject: [PATCH] fix(github): Do not run node cli examples --- .github/workflows/ci.yml | 3 +-- package.json | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ee6d1079..64966011b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,7 @@ jobs: - run: yarn run build - run: yarn run build:examples - run: yarn run validate:examples - - run: yarn run start:cli-examples:gjs - - run: yarn run start:cli-examples:node + - run: yarn run start:cli-examples gjs-types-all: diff --git a/package.json b/package.json index 76d20afeb..3478b6fc8 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "publish:app:latest": "yarn workspaces foreach -v --all --parallel --no-private --include '@ts-for-gir/*' npm publish --tolerate-republish --tag latest --access public", "publish:types:next": "yarn workspaces foreach -v --all --parallel --no-private --include '@girs/*' npm publish --tolerate-republish --tag next --access public", "publish:types:latest": "yarn workspaces foreach -v --all --parallel --no-private --include '@girs/*' npm publish --tolerate-republish --tag latest --access public", - "test": "yarn build:all && yarn test:girs:local && yarn validate:examples && yarn start:cli-examples:all", + "test": "yarn build:all && yarn test:girs:local && yarn validate:examples && yarn start:cli-examples", "test:girs:local": "yarn clear:types && yarn build:types:local && yarn validate:types:local", "test:girs:local:gtk4": "yarn clear:types && yarn build:types:local:gtk4 && yarn validate:types:local", "build": "yarn build:parser && yarn build:lib && yarn build:generators && yarn build:cli", @@ -31,8 +31,7 @@ "build:generator-html-doc": "yarn workspace @ts-for-gir/generator-html-doc run build", "build:examples": "yarn workspaces foreach -v --all --exclude '@ts-for-gir/*' --parallel run build", "build:all": "yarn build && yarn build:examples", - "start:cli-examples:all": "yarn start:cli-examples:gjs", - "start:cli-examples:gjs": "yarn workspace ts-for-gir-glib-2-spawn-command-example run start && yarn workspace ts-for-gir-gio-2-cat-promisify-packages run start", + "start:cli-examples": "yarn workspace ts-for-gir-glib-2-spawn-command-example run start && yarn workspace ts-for-gir-gio-2-cat-promisify-packages 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:local": "yarn ts-for-gir generate --configName='.ts-for-gir.all.rc.js'",