Skip to content

Commit 623d12f

Browse files
chore: update TypeScript configuration to include rootDir and sourceMap (#27)
1 parent 8896ed2 commit 623d12f

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

.github/workflows/main.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@ name: build
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- '**'
67
pull_request:
7-
branches: [main]
8-
8+
branches:
9+
- '**'
910
jobs:
1011
build:
1112
runs-on: ubuntu-latest
1213
permissions:
13-
contents: write
14-
checks: write
15-
14+
pull-requests: write
1615
steps:
1716
- uses: actions/checkout@v3
1817
- name: Use Node.js 22.x
@@ -30,3 +29,7 @@ jobs:
3029
pull-request: true
3130
summary-report: true
3231
failed-report: true
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
if: always()
35+

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wdio-ctrf-json-reporter",
3-
"version": "0.0.14",
3+
"version": "0.0.15",
44
"description": "A WebriverIO JSON test reporter to create test results reports",
55
"repository": {
66
"type": "git",
@@ -9,7 +9,7 @@
99
"homepage": "https://ctrf.io",
1010
"main": "dist/index.js",
1111
"scripts": {
12-
"build": "tsc && eslint . && prettier --check .",
12+
"build": "tsc && eslint . && prettier --write .",
1313
"test": "vitest",
1414
"test:ci": "vitest --watch=false",
1515
"lint": "eslint . && prettier --check ."

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"strict": true,
66
"outDir": "./dist",
77
"declaration": true,
8-
"skipLibCheck": true
8+
"skipLibCheck": true,
9+
"rootDir": "./src",
10+
"sourceMap": true
911
},
10-
"include": ["src/**/*.ts", "tests/**/*.ts", "vitest.config.ts"]
12+
"include": ["src/**/*.ts"]
1113
}

0 commit comments

Comments
 (0)