Skip to content

Commit 161e683

Browse files
committed
Fix GitHub workflow issues
1 parent f8a26fc commit 161e683

5 files changed

Lines changed: 200 additions & 105 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Setup PNPM
19-
uses: pnpm/action-setup@v2
19+
uses: pnpm/action-setup@v4
2020
with:
2121
version: 8
2222

2323
- name: Setup Node.js
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
26-
node-version: 18
26+
node-version: 20
2727
cache: 'pnpm'
2828

2929
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Setup PNPM
20-
uses: pnpm/action-setup@v2
20+
uses: pnpm/action-setup@v4
2121
with:
2222
version: 8
2323

2424
- name: Setup Node.js
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
27-
node-version: 18
27+
node-version: 20
2828
cache: 'pnpm'
2929

3030
- name: Install dependencies

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.0",
44
"private": true,
55
"license": "MIT",
6+
"type": "module",
67
"scripts": {
78
"build": "pnpm -r --stream build",
89
"lint": "eslint . && markdownlint **/*.md --ignore **/node_modules",
@@ -26,6 +27,7 @@
2627
"@types/node": "^20.14.15",
2728
"@typescript-eslint/eslint-plugin": "^8.1.0",
2829
"@typescript-eslint/parser": "^8.1.0",
30+
"@vitest/coverage-v8": "^2.1.1",
2931
"eslint": "^9.9.0",
3032
"eslint-config-prettier": "^9.1.0",
3133
"eslint-plugin-no-only-tests": "^3.3.0",
@@ -35,7 +37,7 @@
3537
"prettier": "^3.3.3",
3638
"tsup": "^8.2.4",
3739
"typescript": "^5.5.4",
38-
"vitest": "^2.0.5"
40+
"vitest": "^2.1.1"
3941
},
4042
"engines": {
4143
"node": "^14.15.0 || >=16.0.0",

packages/annotation-comments/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"scripts": {
2626
"build": "tsup ./src/index.ts --format esm --no-splitting --dts --sourcemap --clean",
27-
"coverage": "vitest run --coverage",
27+
"coverage": "vitest run --coverage --coverage.include=src/**/*.ts --coverage.exclude=src/index.ts",
2828
"test": "vitest run --reporter verbose",
2929
"test-short": "vitest run --reporter basic",
3030
"test-watch": "vitest --reporter verbose",

0 commit comments

Comments
 (0)