when: - event: ["push"] branch: ["master"] engine: "nixery" dependencies: nixpkgs: - nodejs - gnugrep steps: - name: "Install dependencies" command: "npm install" - name: "tsc" command: "npx tsc && echo 'done.'" - name: "npm publish" command: "git log -1 --pretty=%B | grep -q '^publish new version' && npm set //registry.npmjs.org/:_authToken=${NPM_TOKEN} && npm publish || exit 0" clone: skip: false depth: 3 submodules: false