Skip to content

Commit

Permalink
💚 Fix EACCES when running the tests on CI
Browse files Browse the repository at this point in the history
`examples > basic > src > cli > Run the CLI` was failing to spawn `examples/basic/dist/cli.js` because `cli.js` was missing the +x permission.
  • Loading branch information
MethodGrab committed Oct 27, 2022
1 parent adf8f62 commit e099b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"test": "ava",
"validate": "npm run lint && npm run test",
"validate:build": "tsc --project ./tsconfig.build.json --noEmit",
"example-basic:build": "rm -rf ./examples/basic/dist && tsc --project ./examples/basic/tsconfig.json"
"example-basic:build": "rm -rf ./examples/basic/dist && tsc --project ./examples/basic/tsconfig.json",
"postexample-basic:build": "chmod +x ./examples/basic/dist/cli.js"
},
"keywords": [
"create",
Expand Down

0 comments on commit e099b2a

Please sign in to comment.