Skip to content

Commit

Permalink
ci: add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
markusheinemann authored Jun 1, 2022
1 parent 35d70da commit ec4940f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: Release
name: Release Assets

on:
push:
branches:
- main
- master

jobs:
create-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run semantic-release
run: yarn semantic-release
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build Assets
run: yarn build
- name: Create Version
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 change: 1 addition & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"npmPublish": false
}
],
"@semantic-release/github",
"@semantic-release/git"
]
}

0 comments on commit ec4940f

Please sign in to comment.