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 d5737da commit 3dd5fb9
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 @@ -27,7 +27,7 @@
"scripts": {
"demo": "PORT=5000 node demo/server.js",
"test": "echo \"Error: no test specified\" && exit 1",
"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); } }\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3dd5fb9

Please sign in to comment.