Skip to content

Commit 3e6a661

Browse files
authored
Merge pull request #45 from vorth/next
Tests are failing, but that seems unrelated, a pre-existing condition. I'm merging this new GitHub Action from the newer branch so we can get a final build of this branch available for use.
2 parents f3d6df4 + 12f3b9d commit 3e6a661

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/pkg-pr-new.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish to pkg.pr.new
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: install latest corepack
17+
run: npm install corepack@latest -g
18+
19+
- run: corepack enable
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
cache: pnpm
25+
26+
- name: Install dependencies
27+
run: pnpm install
28+
29+
- name: Build
30+
run: pnpm build
31+
32+
- name: Publish preview
33+
run: pnpx pkg-pr-new publish --compact

0 commit comments

Comments
 (0)