im setup a pipeline in Drone ci, my app is on Node.js, and i add the same example pipeline from the documentation of drone but it is not working for me
drone ci cant setup the permissions for execute the jest file, i tried adding a chmod in the commands of the pipeline, but it not work.
this is my .drone.yml
kind: pipeline name: talkier steps: - name: test image: node:11-alpine commands: - npm install - chmod +rwx ./node_modules/.bin/jest - npm test
the error is this:
+ chmod +rwx ./node_modules/.bin/jest + npm test > firstname.lastname@example.org test /drone/src > sh node_modules/.bin/jest node_modules/.bin/jest: line 2: /bin: Permission denied node_modules/.bin/jest: line 3: syntax error: unexpected "(" npm ERR! Test failed. See above for more details.