Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirSa12 committed Jun 7, 2024
1 parent 04fd31e commit 593d0fb
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
name: Publish Any Commit
on:
push:
branches:
- main
- v6/environment-api
pull_request_review:
types: [submitted]
on: [push, pull_request]

jobs:
build:
if: github.event_name == 'push' || github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest

steps:
Expand All @@ -28,5 +21,7 @@ jobs:
- name: Build
run: pnpm build

- run: pnpx pkg-pr-new publish --compact --pnpm
working-directory: ./packages/vite
- run: pnpx pkg-pr-new publish --pnpm ./packages/vite
# working-directory: ./packages/vite
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 593d0fb

Please sign in to comment.