Skip to content

Commit a6252e1

Browse files
authored
Merge pull request #145 from sankhesh/webgl_memleak
Add vitest and fix memory leak
2 parents e5d47e1 + 77c7550 commit a6252e1

10 files changed

Lines changed: 13983 additions & 19055 deletions

File tree

.eslintrc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,16 @@
3535
"import/export": 0,
3636
"n/no-callback-literal": 0,
3737
"@typescript-eslint/no-explicit-any": 0
38-
}
38+
},
39+
"overrides": [
40+
{
41+
"files": ["src/__tests__/**"],
42+
"rules": {
43+
"import/first": 0,
44+
"no-useless-return": 0,
45+
"@typescript-eslint/no-non-null-assertion": 0,
46+
"@typescript-eslint/no-non-null-asserted-optional-chain": 0
47+
}
48+
}
49+
]
3950
}

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- beta
8+
9+
concurrency:
10+
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
test:
15+
name: Lint, unit, build
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Setup node
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 24
24+
cache: 'npm'
25+
- name: Install dependencies
26+
run: npm ci
27+
- name: Test
28+
run: npm run test

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup node
1818
uses: actions/setup-node@v1
1919
with:
20-
node-version: 22
20+
node-version: 24
2121
- name: Install dependencies
2222
run: npm ci
2323
- name: Build

0 commit comments

Comments
 (0)