montycat 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*' # Trigger only when a tag like v1.0.0 is pushed
7
+
8
+ jobs:
9
+ build-and-publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '24'
20
+ registry-url: 'https://registry.npmjs.org/'
21
+
22
+ # - name: Install dependencies
23
+ # run: npm ci
24
+
25
+ - name: Install dependencies
26
+ run: npm install
27
+
28
+ - name: Build package
29
+ run: npm run build
30
+
31
+ - name: Debug auth
32
+ run: npm whoami
33
+ env:
34
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35
+
36
+ - name: Publish to npm
37
+ run: npm publish --access public
38
+ env:
39
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "montycat",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A Node.js client for MontyCat, NoSQL store utilizing Data Mesh architecture.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",