Skip to content

Commit 8d20c41

Browse files
committed
move chmod to package.json
1 parent a8f19b4 commit 8d20c41

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/go.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,6 @@ jobs:
373373
# build
374374
npm run build
375375
376-
# make the cli.js executable
377-
chmod u+x ./bin/cli.js
378-
379376
- run: npm publish --access public
380377
shell: bash
381378
working-directory: ./pkgs/npm

pkgs/npm/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/

pkgs/npm/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"scripts": {
3333
"build": "tsc",
34+
"postbuild": "chmod +x bin/cli.js",
3435
"test": "TS_NODE_PROJECT='./tsconfig-test.json' mocha -r ts-node/register --loader=ts-node/esm -trace-warnings --no-warnings=ExperimentalWarning test/*.spec.ts"
3536
},
3637
"dependencies": {

0 commit comments

Comments
 (0)