We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e1f324 commit b2a5023Copy full SHA for b2a5023
.github/workflows/publish-to-npm.yaml
@@ -0,0 +1,33 @@
1
+name: Build and publish new version of @intersect.mbo/pdf-ui package
2
+run-name: Publish by @${{ github.actor }}
3
+
4
+on:
5
+ workflow_dispatch:
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ defaults:
11
+ run:
12
+ working-directory: pdf-ui
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: "20"
22
+ registry-url: "https://registry.npmjs.org"
23
+ scope: "@intersect.mbo"
24
25
+ - name: Install dependencies
26
+ run: npm ci
27
+ env:
28
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
29
30
+ - name: Publish to npm
31
+ run: npm publish
32
33
0 commit comments