Skip to content

Commit 87dd945

Browse files
committed
v4.0.0
1 parent 0680092 commit 87dd945

4 files changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/jsr-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: JSR Publish
22

33
on:
4-
workflow_dispatch
4+
release:
5+
types: [published]
56

67
jobs:
78
publish:

.github/workflows/npm-publish.yml

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

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@osa413/create-test-server",
3-
"version": "3.2.0",
3+
"version": "4.0.0",
44
"exports": "./src/index.ts"
55
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@osa413/create-test-server",
3-
"version": "3.2.0",
3+
"version": "4.0.0",
44
"description": "Minimal Express server for tests, simpler",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)