Skip to content

Commit

Permalink
ci(release): trigger release
Browse files Browse the repository at this point in the history
  • Loading branch information
wallpants committed May 16, 2024
1 parent 5015e63 commit 68cea08
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release
on:
push:
branches:
- main

permissions:
contents: write
issues: write
pull-requests: write

jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: bun run semantic-release
Binary file modified bun.lockb
Binary file not shown.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wallpants/radix-colors",
"name": "hsl-radix-colors",
"author": "wallpants",
"type": "module",
"version": "0.0.0",
Expand Down Expand Up @@ -33,7 +33,8 @@
}
},
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "latest",
"semantic-release": "^23.1.1"
},
"peerDependencies": {
"typescript": "^5.0.0"
Expand Down

0 comments on commit 68cea08

Please sign in to comment.