chore: fix pipeline display and issues

This commit is contained in:
Cheng Liu 2024-03-11 15:17:48 -07:00
parent 632886fea7
commit c01f10e561
No known key found for this signature in database
GPG key ID: EEC8452F7DB85CD6
5 changed files with 6 additions and 17 deletions

View file

@ -33,6 +33,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 2
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Configure Git
run: |
git config --local user.name tiktokbot

View file

@ -1,14 +1,8 @@
import { Sparo, type ILaunchOptions } from 'sparo-lib';
import { SparoPackage } from './SparoPackage';
process.exitCode = 1;
const launchOptions: ILaunchOptions = {
callerPackageJson: SparoPackage._sparoPackageJson
};
Sparo.launchSparoCIAsync(launchOptions)
.then(() => {
process.exitCode = 0;
})
.catch(console.error);
Sparo.launchSparoCIAsync(launchOptions).catch(console.error);

View file

@ -1,14 +1,8 @@
import { Sparo, type ILaunchOptions } from 'sparo-lib';
import { SparoPackage } from './SparoPackage';
process.exitCode = 1;
const launchOptions: ILaunchOptions = {
callerPackageJson: SparoPackage._sparoPackageJson
};
Sparo.launchSparoAsync(launchOptions)
.then(() => {
process.exitCode = 0;
})
.catch(console.error);
Sparo.launchSparoAsync(launchOptions).catch(console.error);

View file

@ -17,5 +17,5 @@ Checking out skeleton...
-------------------------------------------------------------------------------
sparo-lib was included in the below profiles:
my-build-test
sparo-development
sparo-development
my-build-test

View file

@ -18,5 +18,5 @@ Checking out skeleton...
All available profiles:
my-build-test
sparo-website
sparo-development
sparo-website