mirror of
https://github.com/scratchfoundation/scratch-parser.git
synced 2025-08-28 22:18:45 -04:00
This adds and sets up the `semantic-release` package to use commits and travis to do automated semantic versioning and publishing to npm for scratch-parser. It also adds a readme section about committing, and using `git cz` to handle formatting of commits in a way that is parseable and deployable by `semantic-release`. This setup is based on the existing release setup in `eslint-config-scratch`.
18 lines
276 B
YAML
18 lines
276 B
YAML
sudo: false
|
|
language: node_js
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
notifications:
|
|
email: false
|
|
node_js:
|
|
- '4'
|
|
before_install:
|
|
- npm i -g npm@^2.0.0
|
|
before_script:
|
|
- npm prune
|
|
after_success:
|
|
- npm run semantic-release
|
|
branches:
|
|
except:
|
|
- /^v\d+\.\d+\.\d+$/
|