We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a6ba59 + 2bd15bd commit 1ecf192Copy full SHA for 1ecf192
1 file changed
.github/workflows/publish-commit.yaml
@@ -0,0 +1,24 @@
1
+name: Publish Any Commit
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
8
+ steps:
9
+ - name: Checkout code
10
+ uses: actions/checkout@v2
11
12
+ - run: corepack enable
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 20
16
+ cache: "npm"
17
18
+ - name: Install dependencies
19
+ run: npm install
20
21
+ - name: Build
22
+ run: npm run build
23
24
+ - run: npx pkg-pr-new publish
0 commit comments