diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4087368..d352e75 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,13 @@ 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 @@ -17,6 +23,6 @@ jobs: registry-url: 'https://npm.pkg.github.com' scope: '@boldare' - run: npm ci - - run: npm publish + - run: npm run publish env: NODE_AUTH_TOKEN: ${{ secrets.BOLDARE_GITHUB_TOKEN }} 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",