We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba5c1cf commit dd27bd9Copy full SHA for dd27bd9
.github/workflows/main.yml
@@ -2,7 +2,7 @@ name: Build & Test
2
3
on:
4
push:
5
- branches: [master]
+ branches: [main]
6
pull_request:
7
8
jobs:
.github/workflows/pkg-pr-new.yml
@@ -0,0 +1,28 @@
1
+name: Publish Preview Package
+
+on:
+ push:
+ pull_request:
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup Node
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 20
19
+ cache: 'npm'
20
21
+ - name: Install Dependencies
22
+ run: npm ci
23
24
+ - name: Build
25
+ run: npm run build
26
27
+ - name: Publish Preview Package
28
+ run: npx pkg-pr-new publish
0 commit comments