Add renovate.json #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checks and release | |
on: [push] | |
jobs: | |
eslint: | |
name: eslint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Node setup | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Dependencies | |
run: yarn install --frozen-lockfile | |
- name: eslint | |
run: yarn lint | |
release: | |
needs: | |
- eslint | |
name: Release to npm | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Node setup | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release |