Skip to content

Commit

Permalink
Add pkg.pr.new
Browse files Browse the repository at this point in the history
  • Loading branch information
longnguyen2004 committed Jan 24, 2025
1 parent e7090a5 commit 0177034
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish_prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish pkg.pr.new
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"

- name: Install dependencies
run: npm install

- name: Build
run: npm build

- run: npx pkg-pr-new publish
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@types/fluent-ffmpeg": "^2.1.27",
"@types/node": "^20.17.1",
"@types/ws": "^8.5.12",
"pkg-pr-new": "^0.0.39",
"typed-emitter": "^2.1.0",
"typescript": "^5.6.3"
},
Expand Down

0 comments on commit 0177034

Please sign in to comment.