Skip to content

Commit

Permalink
🐛 fix: adjust publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissgon committed May 5, 2024
1 parent ec48916 commit e63b22c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
on:
push:
branches:
- main
tags:
- "*"

jobs:
publish:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun i
- run: bun run build

publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chrissgon/perfectui",
"version": "0.11.2",
"version": "0.11.3",
"displayName": "Perfect UI",
"description": "An exceptionally lightweight and highly customizable CSS and JavaScript library for crafting elegant user interfaces.",
"private": false,
Expand Down

0 comments on commit e63b22c

Please sign in to comment.