We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c73a4 commit 308a188Copy full SHA for 308a188
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,34 @@
1
+name: Deploy Nexical Core CLI Framework
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ name: Build & Publish
12
+ steps:
13
+ - name: Checkout Repo
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 22
20
+ registry-url: 'https://registry.npmjs.org'
21
22
+ - name: Install Dependencies
23
+ run: npm ci
24
25
+ - name: Build
26
+ run: npm run build
27
28
+ - name: Test
29
+ run: npm run test
30
31
+ - name: Publish to NPM
32
+ run: npm publish --access public
33
+ env:
34
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments