Skip to content

Commit 98b2e1c

Browse files
authored
chore: Add release workflow (#2)
1 parent fff8e2b commit 98b2e1c

4 files changed

Lines changed: 24 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
id-token: write
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: '22.12.0'
16+
registry-url: 'https://registry.npmjs.org'
17+
- run: npm ci
18+
- run: npm publish --provenance --access public
19+
env:
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@crunchloop/mcp-devcontainers",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "MCP for devcontainers",
55
"private": false,
66
"license": "MIT",

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as devcontainers from "./devcontainer.js";
44

55
const server = new McpServer({
66
name: "devcontainers",
7-
version: "0.0.2"
7+
version: "0.0.3"
88
});
99

1010
server.tool(

0 commit comments

Comments
 (0)