Skip to content

Commit e099b2a

Browse files
committed
💚 Fix EACCES when running the tests on CI
`examples > basic > src > cli > Run the CLI` was failing to spawn `examples/basic/dist/cli.js` because `cli.js` was missing the +x permission.
1 parent adf8f62 commit e099b2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"test": "ava",
1818
"validate": "npm run lint && npm run test",
1919
"validate:build": "tsc --project ./tsconfig.build.json --noEmit",
20-
"example-basic:build": "rm -rf ./examples/basic/dist && tsc --project ./examples/basic/tsconfig.json"
20+
"example-basic:build": "rm -rf ./examples/basic/dist && tsc --project ./examples/basic/tsconfig.json",
21+
"postexample-basic:build": "chmod +x ./examples/basic/dist/cli.js"
2122
},
2223
"keywords": [
2324
"create",

0 commit comments

Comments
 (0)