File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 83
83
run : wasm-pack build rs --target=nodejs --out-dir ../src/wasm
84
84
85
85
- name : Build node
86
+ env :
87
+ CLIENTID : ${{ secrets.OAUTHCLIENTID }}
88
+ CLIENTSECRET : ${{ secrets.OAUTHCLIENTSECRET }}
86
89
run : |
87
- npm run package -- --env CLIENTID="${{ secrets.OAUTHCLIENTID }}" --env CLIENTSECRET="${{ secrets.OAUTHCLIENTSECRET }}"
90
+ npm run package
88
91
89
92
- name : Version
90
93
id : version
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import esbuild from 'esbuild'
2
2
import copyPluginPkg from '@sprout2000/esbuild-copy-plugin'
3
3
import { lessLoader } from 'esbuild-plugin-less'
4
4
import * as process from 'node:process'
5
+ import * as console from 'node:console'
5
6
6
7
const { copyPlugin } = copyPluginPkg
7
8
const isProduction = ! process . argv . includes ( '--development' )
@@ -79,10 +80,7 @@ async function buildUI(...apps) {
79
80
}
80
81
}
81
82
82
- try {
83
- await Promise . allSettled ( [ buildExtension ( ) , buildUI ( 'ing' , 'post-cfg' ) ] )
84
- } catch ( ex ) {
85
- // eslint-disable-next-line no-undef
83
+ await Promise . all ( [ buildExtension ( ) , buildUI ( 'ing' , 'post-cfg' ) ] ) . catch ( ex => {
86
84
console . error ( ex )
87
85
process . exit ( 1 )
88
- }
86
+ } )
You can’t perform that action at this time.
0 commit comments