Configure Renovate #51
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: Release Package | |
on: | |
push: | |
branches: | |
- main | |
- next | |
- dev | |
pull_request: | |
branches: | |
- main | |
- next | |
- dev | |
pull_request_target: | |
branches: | |
- main | |
- next | |
- dev | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '14' ] | |
name: Release - Node.js - ${{ matrix.node }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Install dependencies | |
run: yarn install #--immutable --immutable-cache --check-cache | |
- name: Build target | |
run: yarn build | |
- name: Test code | |
run: yarn test | |
- name: Release package | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: yarn semantic-release |