Skip to content

Commit

Permalink
add pkg.pr.new to publish pr releases (#12061)
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored Sep 13, 2024
1 parent a31af05 commit 73a8af6
Show file tree
Hide file tree
Showing 3 changed files with 597 additions and 27 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish-pr-releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pull Request Prerelease

on:
pull_request:
push:
branches:
- "**"
tags:
- "!**"

jobs:
prerelease:
name: Pull Request Prerelease
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install dependencies with cache
uses: bahmutov/npm-install@v1

- name: Build and publish to pkg.pr.new
run: npm run pkg-pr-new-publish
Loading

0 comments on commit 73a8af6

Please sign in to comment.