Skip to content

Commit bae7aa6

Browse files
E2e back (#75)
* working with static paths * Works without node modules * fixes paths * Changes workflows * Possible fix * Adds comment * Adds latest to the build * Removes vscode settings
1 parent c496c08 commit bae7aa6

25 files changed

+572
-159
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,29 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Use Node.js 15.x
11-
uses: actions/setup-node@v2
9+
- uses: actions/checkout@v4
10+
- name: Use Node.js 20.x
11+
uses: actions/setup-node@v4
1212
with:
13-
node-version: '15.x'
13+
node-version: '20.x'
1414
- run: npm i
1515
- run: npm run lint
1616
- run: npm run prettier:ci
1717

18-
build:
18+
test:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest, windows-latest]
23+
typescript_version: [4.x, 5.2.2, latest]
2324

2425
steps:
25-
- uses: actions/checkout@v2
26-
- name: Use Node.js 15.x
27-
uses: actions/setup-node@v2
26+
- uses: actions/checkout@v4
27+
- name: Use Node.js 20.x
28+
uses: actions/setup-node@v4
2829
with:
29-
node-version: '15.x'
30+
node-version: '20.x'
3031
- run: npm i
32+
- run: npm i -D typescript@${{ matrix.typescript_version }}
3133
- run: npm run build
3234
- run: npm run test

.github/workflows/package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
# Setup .npmrc file to publish to npm
13-
- uses: actions/setup-node@v2
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: '14.x'
15+
node-version: '20.x'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: npm install
1818
- run: npm run build
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// @ts-strict-ignore
2+
const text: string = null;
3+
4+
export {};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const text: string = null;
2+
3+
export {};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es2018",
4+
"module": "commonjs",
5+
"lib": ["es2018"],
6+
"baseUrl": "./",
7+
"outDir": "./dist",
8+
"strict": false,
9+
"pretty": true,
10+
"esModuleInterop": true,
11+
"noImplicitAny": true,
12+
"plugins": [
13+
{
14+
"name": "typescript-strict-plugin"
15+
}
16+
]
17+
}
18+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// @ts-strict-ignore
2+
const text: string = null;
3+
4+
export {};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const text: string = null;
2+
3+
export {};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es2018",
4+
"module": "commonjs",
5+
"lib": ["es2018"],
6+
"baseUrl": "./",
7+
"outDir": "./dist",
8+
"strict": false,
9+
"pretty": true,
10+
"esModuleInterop": true,
11+
"noImplicitAny": true,
12+
"plugins": [
13+
{
14+
"name": "typescript-strict-plugin"
15+
}
16+
]
17+
}
18+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const text: string = null;
2+
3+
export {};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const text: string = null;
2+
3+
export {};

0 commit comments

Comments
 (0)