File tree Expand file tree Collapse file tree 3 files changed +51
-59
lines changed
Expand file tree Collapse file tree 3 files changed +51
-59
lines changed Original file line number Diff line number Diff line change 1+ name : Check
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' renovate/**'
8+ paths-ignore :
9+ - ' **.md'
10+ - ' .gitignore'
11+ - ' assets/**'
12+ - ' .github/**'
13+ - ' !.github/workflows/check.yml'
14+
15+ pull_request :
16+ branches :
17+ - main
18+ paths-ignore :
19+ - ' **.md'
20+ - ' .gitignore'
21+ - ' assets/**'
22+ - ' .github/**'
23+ - ' !.github/workflows/check.yml'
24+
25+ workflow_dispatch :
26+ workflow_call :
27+
28+ jobs :
29+ lint-and-test :
30+ name : Lint & Test
31+ runs-on : ubuntu-latest
32+
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
36+
37+ - name : Setup Node.js
38+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
39+ with :
40+ node-version : 18
41+ cache : npm
42+
43+ - name : Install Dependencies
44+ run : npm install
45+
46+ - name : Lint
47+ run : npm run lint
48+
49+ - name : Test
50+ run : npm run test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 "lint" : " eslint src/** test/**" ,
1212 "test" : " jest test" ,
1313 "test:watch" : " npm run test -- --watch" ,
14- "prepublishOnly" : " npm run build"
14+ "prepublishOnly" : " npm run lint && npm run test && npm run build"
1515 },
1616 "devDependencies" : {
1717 "@rollup/plugin-node-resolve" : " ^11.0.0" ,
You can’t perform that action at this time.
0 commit comments