-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pkg.pr.new to publish pr releases
- Loading branch information
Showing
3 changed files
with
597 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.