Skip to content

Commit 94e1afe

Browse files
chore(release): configure semantic release with GitHub Actions and update dependencies
1 parent afd8b7d commit 94e1afe

File tree

4 files changed

+6489
-467
lines changed

4 files changed

+6489
-467
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 🚀 Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main # The branch you want to release from
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: ⬇️ Checkout code
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
18+
- name: ⬢ Setup Node
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
23+
- name: 📦 Install dependencies
24+
run: npm ci
25+
26+
- name: 🚀 Run semantic-release
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Comes from GitHub
29+
run: npx semantic-release

0 commit comments

Comments
 (0)