chore: add semantic release

This commit is contained in:
Marc Cataford 2020-02-29 19:22:52 -05:00
parent f4f2e5301c
commit d24888690d
3 changed files with 3356 additions and 45 deletions

View file

@ -50,4 +50,22 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
release:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'master'
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Node setup
uses: actions/setup-node@v1
with:
node-version: 12
- name: Prepare
run: yarn && yarn build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release

View file

@ -52,6 +52,7 @@
"mock-fs": "^4.11.0",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"rimraf": "^3.0.2"
"rimraf": "^3.0.2",
"semantic-release": "^17.0.4"
}
}

3380
yarn.lock

File diff suppressed because it is too large Load diff