chore: update ci · h3js/h3@b4dce71

2 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,8 @@

11

name: ci

22
33

on:

4-

push: { branches: [main, v1] }

5-

pull_request: { branches: [main, v1] }

4+

push: { branches: [v1] }

5+

pull_request: { branches: [v1] }

66
77

jobs:

88

tests:

@@ -23,7 +23,7 @@ jobs:

2323

runs-on: ubuntu-latest

2424

permissions: { id-token: write, contents: read }

2525

needs: tests

26-

if: contains('refs/heads/main', github.ref) && github.event_name == 'push'

26+

if: contains('refs/heads/v1', github.ref) && github.event_name == 'push'

2727

steps:

2828

- uses: actions/checkout@v5

2929

with: { fetch-depth: 0 }

Original file line numberDiff line numberDiff line change

@@ -24,6 +24,7 @@

2424

"dev": "vitest",

2525

"lint": "eslint --cache . && prettier -c src test playground examples docs",

2626

"lint:fix": "eslint --cache . --fix && prettier -c src test playground examples docs -w",

27+

"prepack": "pnpm build",

2728

"play": "listhen -w ./playground/app.ts",

2829

"profile": "0x -o -D .profile -P 'autocannon -c 100 -p 10 -d 40 http://localhost:$PORT' ./playground/server.cjs",

2930

"release": "pnpm test && pnpm build && changelogen --release --publish --publishTag latest && git push --follow-tags",

@@ -45,11 +46,11 @@

4546

"uncrypto": "^0.1.3"

4647

},

4748

"devDependencies": {

48-

"0x": "^6.0.0",

4949

"@types/express": "^5.0.3",

5050

"@types/node": "^24.6.1",

5151

"@types/supertest": "^6.0.3",

5252

"@vitest/coverage-v8": "^3.2.4",

53+

"0x": "^6.0.0",

5354

"autocannon": "^8.0.0",

5455

"automd": "^0.4.2",

5556

"changelogen": "^0.6.2",