Skip to content

Commit

Permalink
build: semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgloning committed Apr 27, 2022
1 parent 4a7dba0 commit 63f065a
Show file tree
Hide file tree
Showing 4 changed files with 15,548 additions and 6,919 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
branches:
- rc
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "branches": ["stable", { "name": "rc", "prerelease": true }] }
Loading

0 comments on commit 63f065a

Please sign in to comment.