Add publish step (#16)
* feat: tsdown * fix: formatting * automate version updates in cli * fix: docs * scenarios * fix: commander deps * Add publish step * add publish step * add tsgo * delete old scenario * tidy package and license * bugs link * combo build/test * combo, and release type * prepack --------- Co-authored-by: Matt Carey <mcarey@cloudflare.com>
This commit is contained in:
parent
7f1515c475
commit
76e9226b4b
1 changed files with 204 additions and 90 deletions
27
.github/workflows/pr-publish.yml
vendored
Normal file
27
.github/workflows/pr-publish.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Publish PR to pkg.pr.new
|
||||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
tags:
|
||||
- '!**'
|
||||
|
||||
jobs:
|
||||
pr-publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
cache: npm
|
||||
|
||||
- run: npm ci
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Publish
|
||||
run: npx pkg-pr-new publish
|
||||
Loading…
Reference in a new issue