Skip to content

Commit

Permalink
chore: Add pkg-pr-new
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Oct 20, 2024
1 parent cd293ee commit 1fc7b9c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: pkg-pr-new
on: [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: 20
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- run: npx pkg-pr-new publish

0 comments on commit 1fc7b9c

Please sign in to comment.