mirror of
https://github.com/tiktok/sparo.git
synced 2025-02-17 00:21:14 -05:00
chore: fix pipeline display and issues
This commit is contained in:
parent
632886fea7
commit
c01f10e561
5 changed files with 6 additions and 17 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -17,5 +17,5 @@ Checking out skeleton...
|
|||
[90m-------------------------------------------------------------------------------[39m
|
||||
|
||||
sparo-lib was included in the below profiles:
|
||||
my-build-test
|
||||
sparo-development
|
||||
sparo-development
|
||||
my-build-test
|
||||
|
|
|
@ -18,5 +18,5 @@ Checking out skeleton...
|
|||
|
||||
All available profiles:
|
||||
my-build-test
|
||||
sparo-website
|
||||
sparo-development
|
||||
sparo-website
|
||||
|
|
Loading…
Reference in a new issue