Skip to content

Commit

Permalink
ci: add pkg-pr-new for preview release (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue authored Dec 4, 2024
1 parent 4318dd5 commit a45cb5c
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,15 @@ jobs:
name: playwright-report
path: e2e/playwright-report/
retention-days: 7

preview-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/setup

- name: Publish snapshot packages
if: ${{ github.event_name == 'pull_request' }}
run: >
./node_modules/.bin/pkg-pr-new publish --pnpm './packages/*'
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"git-cz": "^4.9.0",
"husky": "^9.0.11",
"lint-staged": "^15.0.0",
"pkg-pr-new": "^0.0.35",
"prosemirror-keymap": "^1.2.2",
"prosemirror-model": "^1.24.0",
"prosemirror-state": "^1.4.3",
Expand Down
Loading

0 comments on commit a45cb5c

Please sign in to comment.