From e099b2ae65d5bbac4d534658733982c2e6df1f2d Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 27 Oct 2022 20:03:16 +0100 Subject: [PATCH] :green_heart: 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. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 15662ad..7edeb80 100644 --- a/package.json +++ b/package.json @@ -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",