node-modules.sh (381B)
1 #!/bin/bash -vex 2 3 set -x -e 4 5 echo "running as" $(id) 6 7 set -v 8 9 cd $GECKO_PATH 10 11 export PATH=$PATH:$MOZ_FETCHES_DIR/node/bin 12 13 ./mach eslint --setup 14 15 # Remove symlinks that we don't want to package. 16 rm node_modules/eslint-plugin-mozilla 17 rm node_modules/eslint-plugin-spidermonkey-js 18 19 mkdir -p /builds/worker/artifacts 20 tar caf /builds/worker/artifacts/node-modules.tar.zst node_modules