Skip to content

Commit c247504

Browse files
committed
Update deps and actions
1 parent 34d250f commit c247504

File tree

9 files changed

+636
-4024
lines changed

9 files changed

+636
-4024
lines changed

.eslintrc.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@
99
"parserOptions": {
1010
"ecmaVersion": 2022
1111
},
12-
"overrides": [
13-
{
14-
"files": [
15-
"**/*.test.js"
16-
],
17-
"env": {
18-
"jest": true
19-
},
20-
"plugins": ["jest"],
21-
"rules": {
22-
"jest/no-disabled-tests": "warn",
23-
"jest/no-focused-tests": "error",
24-
"jest/no-identical-title": "error",
25-
"jest/prefer-to-have-length": "warn",
26-
"jest/valid-expect": "error"
27-
}
28-
}
29-
],
3012
"env": {
3113
"node": true,
3214
"es6": true

.github/workflows/eslint.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: ESLint
2+
defaults:
3+
run:
4+
shell: bash
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
14+
jobs:
15+
eslint:
16+
name: ESLint
17+
runs-on: ubuntu-20.04
18+
19+
steps:
20+
21+
- name: Fetch Repository
22+
uses: actions/checkout@v3
23+
with:
24+
persist-credentials: false
25+
26+
- name: Install Node.js
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: 18.16.0
30+
cache: 'npm'
31+
32+
- name: Install Modules
33+
run: npm ci
34+
35+
- name: Run ESLint
36+
run: npm run eslint

.github/workflows/validate.yml renamed to .github/workflows/test.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Validate
1+
name: Test
22
defaults:
33
run:
44
shell: bash
@@ -12,29 +12,6 @@ on:
1212
- master
1313

1414
jobs:
15-
eslint:
16-
name: ESLint
17-
runs-on: ubuntu-20.04
18-
19-
steps:
20-
21-
- name: Fetch Repository
22-
uses: actions/checkout@v3
23-
with:
24-
persist-credentials: false
25-
26-
- name: Install Node.js
27-
uses: actions/setup-node@v3
28-
with:
29-
node-version: 18.16.0
30-
cache: 'npm'
31-
32-
- name: Install Modules
33-
run: npm ci
34-
35-
- name: Run ESLint
36-
run: npm run eslint
37-
3815
unit-tests:
3916
name: Unit Tests
4017
strategy:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is a part of [Node3D](https://github.com/node-3d) project.
66
[![CodeFactor](https://www.codefactor.io/repository/github/node-3d/webgl-raub/badge)](https://www.codefactor.io/repository/github/node-3d/webgl-raub)
77

88
```
9-
npm i webgl-raub
9+
npm i -s webgl-raub
1010
```
1111

1212
![Example](examples/screenshot.jpg)

conf/jest.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)