steps: yarn: image: node:alpine commands: - yarn yarn_lint: image: node:alpine commands: - yarn lint npm_publish: image: node:alpine commands: - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc - echo "email = tyhou13@gmx.com" >> ~/.npmrc - npm publish secrets: [npm_token] when: event: tag