Skip to content

Commit

Permalink
test: ✅ update semantic release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydrichards committed May 19, 2024
1 parent ca8e73e commit f55492a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,12 @@ jobs:
with:
token: ${{ secrets.GH_TOKEN }}

- name: Set Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: oven-sh/setup-bun@v1

# node dependency cache
# this is not required but speeds up the process
- uses: actions/cache@v4
with:
path: ./node_modules
key: node-${{ hashFiles('**/composer.lock') }}
restore-keys: |
node
- name: Install dependencies
run: bun install --frozen-lockfile

- name: Tag Version
run: npx semantic-release
run: bun release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Binary file modified bun.lockb
Binary file not shown.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"start": "next start",
"lint": "next lint",
"prettier": "prettier --write .",
"release": "semantic-release",
"storybook": "storybook dev -p 6006",
"storybook:test": "test-storybook",
"type-check": "tsc --build"
Expand Down Expand Up @@ -99,6 +100,7 @@
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"semantic-release": "^23.1.1",
"storybook": "^8.0.10",
"tailwind-merge": "^2.3.0",
"tailwindcss": "3.4.3",
Expand Down

0 comments on commit f55492a

Please sign in to comment.