Skip to content

Commit

Permalink
fix git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amoskeyz committed Dec 11, 2023
1 parent c27a6c9 commit 0cb3afc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 74 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/nodejs.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/npmpublish.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to NPM
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Publish package on NPM 📦
- run: |
npm install
npm run prod
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": "seerbit-vue",
"version": "3.1.0",
"version": "3.1.1",
"description": "SeerBit VueJS Component for Vue 3.x.x",
"private": true,
"main": "dist/seerbit-vue3.mjs",
Expand Down

0 comments on commit 0cb3afc

Please sign in to comment.