Skip to content

Commit

Permalink
publish-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirSa12 committed Jun 11, 2024
1 parent bbe441b commit 77b7137
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Publish Any Commit

env:
# install playwright binary manually (because pnpm only runs install script once)
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"

on:
push:
branches:
Expand All @@ -16,16 +21,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install pnpm
uses: pnpm/[email protected]

- name: Install dependencies
run: pnpm install

- name: Build
working-directory: ./packages/vite
run: pnpm build

- run: pnpx pkg-pr-new publish --compact --pnpm ./packages/vite
- run: pnpm dlx pkg-pr-new@0.0 publish --compact --pnpm ./packages/vite

0 comments on commit 77b7137

Please sign in to comment.