Skip to content

Commit

Permalink
setup publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeikal committed Feb 12, 2024
1 parent dff9730 commit 10410d6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release
on:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jdx/mise-action@v2
- uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
scope: "@moveaxlab"
- run: yarn
- run: yarn test
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moveax/nestjs-security",
"version": "1.0.0",
"name": "@moveaxlab/nestjs-security",
"version": "10.0.0",
"description": "A NestJS library to handle JWT authentication for web and mobile apps.",
"authors": [
"Michelle Laurenti <[email protected]>"
Expand All @@ -10,6 +10,10 @@
"types": "./types/index.d.ts",
"license": "MIT",
"sideEffects": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "npm-run-all build:*",
"build:cjs": "npm-run-all build:cjs:*",
Expand Down

0 comments on commit 10410d6

Please sign in to comment.