Skip to content

Commit

Permalink
Publish every commit as a package
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasballinger committed Nov 20, 2024
1 parent 2f5c688 commit b6d54ca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-every-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Any Commit
# from https://github.com/stackblitz-labs/pkg.pr.new?tab=readme-ov-file
on: [push]

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: 18
cache: "npm"

- name: Install dependencies
run: npm install

- run: npx pkg-pr-new publish --no-template

0 comments on commit b6d54ca

Please sign in to comment.