Skip to content

chore(deps): bump yaml, husky, lint-staged and semantic-release #50

chore(deps): bump yaml, husky, lint-staged and semantic-release

chore(deps): bump yaml, husky, lint-staged and semantic-release #50

Workflow file for this run

name: ci
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
release:
runs-on: [ubuntu-latest]
needs: build
if: success() && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Semantic release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }}