diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4087368..8596c67 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,22 +1,24 @@ name: Publish package to GitHub Packages +#on: +# release: +# types: [published] on: - release: - types: [published] + pull_request: + branches: + - master + - main + - next jobs: build: runs-on: ubuntu-latest - permissions: - contents: read - packages: write steps: - uses: actions/checkout@v4 - # Setup .npmrc file to publish to GitHub Packages + # Setup .npmrc file to publish to npm - uses: actions/setup-node@v4 with: node-version: '20.x' - registry-url: 'https://npm.pkg.github.com' - scope: '@boldare' + registry-url: 'https://registry.npmjs.org' - run: npm ci - - run: npm publish + - run: npm run publish env: - NODE_AUTH_TOKEN: ${{ secrets.BOLDARE_GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/libs/ai-assistant/package.json b/libs/ai-assistant/package.json index 41f326e..870716d 100644 --- a/libs/ai-assistant/package.json +++ b/libs/ai-assistant/package.json @@ -1,6 +1,6 @@ { "name": "@boldare/ai-assistant", - "version": "0.0.2-dev.5", + "version": "0.0.2-dev.6", "private": false, "dependencies": { "tslib": "^2.3.0", diff --git a/package.json b/package.json index 00c5c53..8e032de 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "format": "nx format:write", "prepare": "husky" }, - "private": true, + "private": false, "dependencies": { "@angular/animations": "~17.0.0", "@angular/cdk": "^17.0.5",