Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 5fd13f5

Browse files
committed
feat: add release workflow
1 parent 8663cf7 commit 5fd13f5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: NPM Semantic Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-python@v2
13+
with:
14+
python-version: 3.8
15+
- name: Install Poetry
16+
uses: snok/install-poetry@v1
17+
- name: Release
18+
uses: bjoluc/semantic-release-config-poetry@v1
19+
with:
20+
pypi_token: ${{ secrets.PYPI_TOKEN }}
21+
github_token: ${{ secrets.BOT_GH_TOKEN }}

0 commit comments

Comments
 (0)