Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: set up pkg.pr.new #105

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
on: [push, pull_request]

name: CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
test:
name: Test
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/release-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Any Commit

on: [push, pull_request]

jobs:
publish:
name: Publish commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x

- uses: pnpm/action-setup@v2

- name: Install Dependencies
run: pnpm install

- name: Build
run: pnpm build

- run: pnpx pkg-pr-new publish --compact
Loading