Skip to content

Merge pull request #106 from zotoio/dependabot/npm_and_yarn/semantic-… #117

Merge pull request #106 from zotoio/dependabot/npm_and_yarn/semantic-…

Merge pull request #106 from zotoio/dependabot/npm_and_yarn/semantic-… #117

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Run Build
run: yarn build
- name: Run tests
run: yarn test
- name: Run semantic-release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}