Skip to content

Commit

Permalink
ci: added pkg.pr.new
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Jan 10, 2025
1 parent d2ade9f commit f658faa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
run: npm run ${{ matrix.target }}
shell: bash

- name: Publish any commit / build for testing
run: npm run release:pkg-pr-new
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

commitlint:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"ci:lint": "nx run-many --target=lint --all",
"ci:e2e": "nx run transloco-playground-e2e:e2e:ci",
"e2e": "nx run transloco-playground-e2e:e2e",
"pre-commit": "node scripts/pre-commit.js && lint-staged --allow-empty"
"pre-commit": "node scripts/pre-commit.js && lint-staged --allow-empty",
"release:pkg-pr-new": "npx pkg-pr-new@^0.0.30 publish --compact ./dist/packages/*"
},
"dependencies": {
"@angular/animations": "18.2.9",
Expand Down

0 comments on commit f658faa

Please sign in to comment.