Skip to content

Commit

Permalink
Merge pull request #3 from AmirSa12/feat/pkg.pr.new
Browse files Browse the repository at this point in the history
add pkg.pr.new
  • Loading branch information
AlemTuzlak authored Jun 28, 2024
2 parents 5a6ba59 + 2bd15bd commit 1ecf192
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Any Commit
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

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

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- run: npx pkg-pr-new publish

0 comments on commit 1ecf192

Please sign in to comment.