Skip to content

Commit

Permalink
Merge pull request #6 from digen21/MP-04-fix-main-path-to-dist
Browse files Browse the repository at this point in the history
MP-04
  • Loading branch information
digen21 authored Dec 22, 2024
2 parents 486e3b9 + 0d97200 commit 1d0b889
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: '🚀 Publish'

on:
push:
branches:
- main

jobs:
release:
name: '🚀 Publish'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 23.x]
steps:
- name: checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: 🚀 Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@dmxdev/mongoose-paginated-query",
"version": "1.2.2",
"version": "1.3.0",
"description": "Mongodb Paginate Queries Package",
"main": "index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 1d0b889

Please sign in to comment.