@programinglive/dev-workflow-mcp-server 1.6.3 → 1.7.9

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.
@@ -1,50 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- push:
5
- tags:
6
- - "v*"
7
-
8
- jobs:
9
- publish:
10
- name: Publish package
11
- runs-on: ubuntu-latest
12
- permissions:
13
- contents: read
14
- id-token: write
15
-
16
- env:
17
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
18
-
19
- steps:
20
- - name: Checkout repository
21
- uses: actions/checkout@v4
22
-
23
- - name: Setup Node.js
24
- uses: actions/setup-node@v4
25
- with:
26
- node-version: "20"
27
- cache: "npm"
28
- registry-url: https://registry.npmjs.org
29
- scope: "@programinglive"
30
-
31
- - name: Install dependencies
32
- run: npm ci
33
-
34
- - name: Install web dependencies
35
- run: npm ci --prefix web
36
-
37
- - name: Build package
38
- run: npm run build
39
-
40
- - name: Verify tag matches package version
41
- run: |
42
- EXPECTED_TAG="${GITHUB_REF#refs/tags/}"
43
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
44
- if [ "v${PACKAGE_VERSION}" != "${EXPECTED_TAG}" ]; then
45
- echo "Package version ${PACKAGE_VERSION} does not match tag ${EXPECTED_TAG}"
46
- exit 1
47
- fi
48
-
49
- - name: Publish to npm
50
- run: npm publish --provenance