Skip to content

Commit

Permalink
Add support for pr.pkg.new snapshot releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jplhomer committed Jul 27, 2024
1 parent fb876fd commit cdeb306
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Snapshot
on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- run: pnpx pkg-pr-new publish --compact './packages/superflare' './packages/superflare-remix'

0 comments on commit cdeb306

Please sign in to comment.