Bump version / add ci

This commit is contained in:
René Preuß
2023-09-12 11:03:56 +02:00
parent 7384a4c5ce
commit ce2ced4ffa
2 changed files with 23 additions and 1 deletions

21
.github/workflows/package.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
registry-url: 'https://registry.npmjs.org'
scope: '@bitinflow'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -1,6 +1,6 @@
{
"name": "@bitinflow/nuxt-oauth",
"version": "2.0.2",
"version": "2.0.3",
"description": "Nuxt 3 OAuth Module",
"license": "MIT",
"type": "module",
@@ -21,6 +21,7 @@
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"build": "npm run lint && npm run test && npm run prepack",
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && git push --follow-tags",
"push": "npm publish --access public",
"lint": "eslint .",