Skip to content

Commit

Permalink
add pkg.pr.new to publish pr releases
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Sep 11, 2024
1 parent 38b6d80 commit 034dae1
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: 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 034dae1

Please sign in to comment.