Skip to content

Commit

Permalink
feat: support releases with semantic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
sp71 committed Jan 13, 2024
1 parent bb89dcd commit 3b0fa08
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on:
push:
branches:
- master

jobs:
release-and-push:
name: Release And Push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: -1
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Fetch Previous version
id: get-previous-tag
uses: actions-ecosystem/[email protected]

- name: Release
run: yarn global add [email protected] && semantic-release
env:
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}

0 comments on commit 3b0fa08

Please sign in to comment.