Drone: make node.js build use uuid package instead of uuidgen command
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2022-11-29 17:26:37 -06:00
parent cdb17c8e4a
commit db98b5758f

View File

@ -28,7 +28,7 @@ steps:
- sed -i '1d' ./node_modules/ngx-monaco-editor/lib/types.d.ts - sed -i '1d' ./node_modules/ngx-monaco-editor/lib/types.d.ts
- ./node_modules/.bin/ionic build --prod - ./node_modules/.bin/ionic build --prod
- ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i - ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i
- echo -n $(uuidgen) | tee ./www/version.html - echo -n $(npx uuid) | tee ./www/version.html
environment: environment:
NODE_OPTIONS: --openssl-legacy-provider NODE_OPTIONS: --openssl-legacy-provider