Skip to content

Commit 680c52a

Browse files
chore: vitest
1 parent ab7d2c1 commit 680c52a

File tree

15 files changed

+1609
-1173
lines changed

15 files changed

+1609
-1173
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,18 @@ jobs:
44
test:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
7+
- uses: actions/checkout@v4
88

99
- name: Use Node.js
10-
uses: actions/setup-node@v3
10+
uses: actions/setup-node@v4
1111
with:
1212
node-version-file: 'package.json'
13-
cache: 'npm'
14-
15-
- name: install libgbm1
16-
run: sudo apt-get install -y libgbm1
1713

1814
- name: Intall deps
19-
run: |
20-
npm i
15+
run: npm ci
16+
17+
- name: Install playright
18+
run: npx playwright install
2119

2220
- name: Lint
2321
run: npm run lint

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ testem.log
4545
# System Files
4646
.DS_Store
4747
Thumbs.db
48+
49+
projects/angular-stl-model-viewer/src/lib/__screenshots__

angular.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,6 @@
101101
"options": {
102102
"buildTarget": "examples:build"
103103
}
104-
},
105-
"test": {
106-
"builder": "@angular-devkit/build-angular:karma",
107-
"options": {
108-
"main": "projects/examples/src/test.ts",
109-
"polyfills": "projects/examples/src/polyfills.ts",
110-
"tsConfig": "projects/examples/tsconfig.spec.json",
111-
"karmaConfig": "projects/examples/karma.conf.js",
112-
"assets": [
113-
"projects/examples/src/favicon.ico",
114-
"projects/examples/src/assets"
115-
],
116-
"styles": [
117-
"projects/examples/src/styles.css"
118-
],
119-
"scripts": []
120-
}
121104
}
122105
}
123106
}

0 commit comments

Comments
 (0)