@fentz26/envcp 1.0.0 → 1.0.1

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.
@@ -2,14 +2,14 @@ name: Publish to npm
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [main]
6
5
  tags: ['v*']
7
6
 
8
7
  jobs:
9
8
  publish:
10
9
  runs-on: ubuntu-latest
11
10
  permissions:
12
- contents: read
11
+ contents: write
12
+ packages: write
13
13
  steps:
14
14
  - uses: actions/checkout@v4
15
15
 
@@ -25,3 +25,24 @@ jobs:
25
25
  - run: npm publish --access=public
26
26
  env:
27
27
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+
29
+ # Publish to GitHub Packages
30
+ - uses: actions/setup-node@v4
31
+ with:
32
+ node-version: '20'
33
+ registry-url: 'https://npm.pkg.github.com'
34
+
35
+ - run: npm publish --access=public
36
+ env:
37
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
+
39
+ # Create GitHub Release
40
+ - name: Create GitHub Release
41
+ env:
42
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
+ run: |
44
+ TAG="${GITHUB_REF#refs/tags/}"
45
+ gh release create "$TAG" \
46
+ --repo "$GITHUB_REPOSITORY" \
47
+ --title "$TAG" \
48
+ --generate-notes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fentz26/envcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MCP server for secure environment variable management - Keep your secrets safe from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",