File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 8383 run : wasm-pack build rs --target=nodejs --out-dir ../src/wasm
8484
8585 - name : Build node
86+ env :
87+ CLIENTID : ${{ secrets.OAUTHCLIENTID }}
88+ CLIENTSECRET : ${{ secrets.OAUTHCLIENTSECRET }}
8689 run : |
87- npm run package -- --env CLIENTID="${{ secrets.OAUTHCLIENTID }}" --env CLIENTSECRET="${{ secrets.OAUTHCLIENTSECRET }}"
90+ npm run package
8891
8992 - name : Version
9093 id : version
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import esbuild from 'esbuild'
22import copyPluginPkg from '@sprout2000/esbuild-copy-plugin'
33import { lessLoader } from 'esbuild-plugin-less'
44import * as process from 'node:process'
5+ import * as console from 'node:console'
56
67const { copyPlugin } = copyPluginPkg
78const isProduction = ! process . argv . includes ( '--development' )
@@ -79,10 +80,7 @@ async function buildUI(...apps) {
7980 }
8081}
8182
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 => {
8684 console . error ( ex )
8785 process . exit ( 1 )
88- }
86+ } )
You can’t perform that action at this time.
0 commit comments