spyne 0.20.12 → 0.20.17

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,38 @@
1
+ name: Publish Package
2
+
3
+ on:
4
+ release:
5
+ types: [published] # publishes when you publish a GitHub Release
6
+
7
+ permissions:
8
+ id-token: write # REQUIRED for OIDC
9
+ contents: read
10
+
11
+ jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ # 1. Checkout your repo
17
+ - uses: actions/checkout@v5
18
+
19
+ # 2. Setup Node.js (v5 = better OIDC behavior)
20
+ # IMPORTANT: Do NOT set registry-url or token
21
+ - uses: actions/setup-node@v5
22
+ with:
23
+ node-version: '22'
24
+
25
+ # 3. Ensure npm >= 11.5.1 (latest is simplest)
26
+ - name: Update npm to latest
27
+ run: npm install -g npm@latest
28
+
29
+ # 5. Install dependencies
30
+ - run: npm ci
31
+
32
+ # 6. Build Spyne
33
+ - run: npm run build --if-present
34
+
35
+ # 7. Publish using OIDC (NO TOKEN)
36
+ # For trusted publishing, npm auto-detects OIDC and provenance.
37
+ - name: Publish to npm
38
+ run: npm publish