Skip to content

fix: fix issue 61

fix: fix issue 61 #20

name: Release
'on':
push:
branches:
- master
- next
- alpha
- next-major
- beta
- '*.x'
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: npm
node-version: 16
- run: npm ci
- run: npm run build
- run: npm test
- run: zip -r dist.zip dist
- run: npx semantic-release
env:
HUSKY: 0
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}