chore: add semantic release via github actions

This commit is contained in:
Remy Sharp
2021-06-29 10:49:05 +01:00
parent 3a7b97766a
commit b78779aa26
2 changed files with 699 additions and 659 deletions

28
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Release
on:
workflow_run:
workflows: ['tests']
branches: [main]
types:
- completedname: Release
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

1330
package-lock.json generated

File diff suppressed because it is too large Load Diff