Skip to content

Commit

Permalink
fix: testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jun 11, 2023
1 parent 4d81da8 commit 3c1e26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"start": "npx webpack --config webpack.config.js --watch",
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
"postinstall": "node $PWD/node_modules/@cocreate/cli/check-coc.js"
"postinstall": "node -e \"const { execSync } = require('child_process'); try { execSync('coc --version', { stdio: 'ignore' }); } catch (error) { try { execSync('npm install -g @cocreate/cli', { stdio: 'inherit' }); console.log('Installed \"@cocreate/cli\" globally.'); } catch (error) { console.error('Failed to install \"@cocreate/cli\" globally:', error); } }\""
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 3c1e26d

Please sign in to comment.