relatt-scraper
Version:
Metascarper
24 lines (20 loc) • 591 B
YAML
# Template NodeJS build
# This template allows you to validate your NodeJS code.
# The workflow allows running tests and code linting on the default branch.
image: node:16.9.1
pipelines:
default:
- step:
name: Build and Test
script:
- npm install
- npm test
- step:
name: Publish
deployment: production
script:
- npm version minor -m "Upgrade to %s [skip ci]"
- git push && git push --tags
- pipe: atlassian/npm-publish:0.2.0
variables:
NPM_TOKEN: $NPM_TOKEN