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 2620a67 commit f07ee25Copy full SHA for f07ee25
.github/workflows/publish-node-sdk.yml
@@ -0,0 +1,29 @@
1
+name: Publish Node SDK to GitHub Packages
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ packages: write
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: '20'
17
+ registry-url: 'https://npm.pkg.github.com'
18
+ scope: '@makeplane'
19
20
+ - name: Install dependencies and build
21
+ run: npm ci
22
23
+ - name: Configure npm for GitHub Packages
24
+ run: npm config set @makeplane:registry https://npm.pkg.github.com
25
26
+ - name: Publish to GitHub Packages
27
+ run: npm publish
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments