Skip to content

Commit 65c62de

Browse files
committed
Add build and test workflow
1 parent b039ce6 commit 65c62de

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/pull-request.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
build:
10+
build_and_test:
11+
concurrency:
12+
group: ${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
runs-on: ubuntu-latest
16+
1217
steps:
13-
- name: Check out repository
14-
uses: actions/checkout@v3
18+
- name: Cloning repo
19+
uses: actions/checkout@v4
1520

16-
- name: Set up Node
17-
uses: actions/setup-node@v3
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: '18.x'
24+
registry-url: 'https://registry.npmjs.org'
1825

1926
- name: Install dependencies
2027
run: npm install

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"outDir": "dist",
77
"rootDir": "src",
88
"strict": true,
9-
"target": "es2019"
9+
"target": "es2019",
10+
"skipLibCheck": true
1011
},
1112
"include": [
1213
"src/**/*"

0 commit comments

Comments
 (0)