stratos-mcp 1.10.7

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,64 @@
1
+ name: Release & Publish
2
+
3
+ # Temporarily disabled
4
+ on:
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
+
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20.x'
19
+
20
+ - name: Install dependencies
21
+ run: npm ci
22
+
23
+ - name: Run tests
24
+ run: npm test
25
+ env:
26
+ NODE_OPTIONS: --experimental-vm-modules
27
+
28
+ - name: Build
29
+ run: npx tsc
30
+
31
+ - name: Extract version from tag
32
+ id: version
33
+ run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
34
+
35
+ # npm publishing disabled - will enable when account is ready
36
+ # - name: Publish to npm
37
+ # if: success()
38
+ # run: npm publish
39
+ # env:
40
+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41
+
42
+ - name: Create GitHub Release
43
+ uses: softprops/action-gh-release@v1
44
+ with:
45
+ name: Azure Stratos MCP v${{ steps.version.outputs.VERSION }}
46
+ body: |
47
+ ## Azure Stratos MCP v${{ steps.version.outputs.VERSION }}
48
+
49
+ See [CHANGELOG.md](CHANGELOG.md) for full release notes.
50
+
51
+ ### Installation
52
+ ```bash
53
+ npm install stratos-mcp@${{ steps.version.outputs.VERSION }}
54
+ ```
55
+
56
+ ### What's Included
57
+ - 32 Azure security assessment tools
58
+ - 65 comprehensive tests
59
+ - OWASP MCP compliance
60
+ - Full MCP annotations
61
+ draft: false
62
+ prerelease: false
63
+ env:
64
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,48 @@
1
+ name: Test Suite
2
+
3
+ # Temporarily disabled - tests hanging
4
+ on:
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+
11
+ strategy:
12
+ matrix:
13
+ node-version: [18.x, 20.x]
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Setup Node.js ${{ matrix.node-version }}
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
+ cache: 'npm'
24
+
25
+ - name: Install dependencies
26
+ run: npm ci
27
+
28
+ - name: Run tests
29
+ run: npm test
30
+ env:
31
+ NODE_OPTIONS: --experimental-vm-modules
32
+
33
+ - name: Check TypeScript compilation
34
+ run: npx tsc --noEmit
35
+
36
+ - name: Generate coverage report
37
+ if: matrix.node-version == '20.x'
38
+ run: npm test -- --coverage
39
+ env:
40
+ NODE_OPTIONS: --experimental-vm-modules
41
+
42
+ - name: Upload coverage to Codecov
43
+ if: matrix.node-version == '20.x'
44
+ uses: codecov/codecov-action@v3
45
+ with:
46
+ file: ./coverage/coverage-final.json
47
+ flags: unittests
48
+ name: azure-stratos-coverage