Skip to content

feat(mongoose): added mongoose module wrapper #12

feat(mongoose): added mongoose module wrapper

feat(mongoose): added mongoose module wrapper #12

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
publish-gpr:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 18
# registry-url: https://npm.pkg.github.com/
# scope: "@rxdi"
- run: npx @rxdi/bolt install
- run: npm run lint --if-present
- run: npm test --if-present
- run: git config --global user.email '[email protected]'
- run: git config --global user.name "Kristiyan Tachev"
- run: npm version patch
- run: node ./change-version.js
- run: npm config set '//registry.npmjs.org/:_authToken' "${{secrets.NPM_TOKEN}}"
- run: npm run build
- run: npm run patch
- run: npm run publish-packages
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
- run: git add .
- run: git commit --amend --no-edit
- uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.GITHUB_TOKEN }}