Skip to content

Commit

Permalink
NPM publish workflow added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Mar 29, 2024
1 parent f1b55f7 commit 85d1b58
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to NPM
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16.16.0'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: npm i && npm ci && npm run build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue3-hive-ui-kit",
"private": false,
"version": "0.7.2",
"version": "0.7.3",
"type": "module",
"description": "UI kit for Vue 3",
"files": [
Expand Down

0 comments on commit 85d1b58

Please sign in to comment.