File tree Expand file tree Collapse file tree 4 files changed +58
-74
lines changed Expand file tree Collapse file tree 4 files changed +58
-74
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ check :
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ check :
17+ - format
18+ - lint
19+ - type
20+ name : Check ${{ matrix.check }}
21+ runs-on : ubuntu-latest
22+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v3
26+ - name : Set up Node
27+ uses : actions/setup-node@v3
28+ with :
29+ node-version : 18
30+ cache : yarn
31+ - name : Install
32+ run : yarn install --immutable
33+ - name : Check
34+ run : yarn check:${{ matrix.check }}
35+
36+ test :
37+ name : Test
38+ runs-on : ubuntu-latest
39+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
40+ steps :
41+ - name : Checkout
42+ uses : actions/checkout@v3
43+ - name : Set up Node
44+ uses : actions/setup-node@v3
45+ with :
46+ node-version : 18
47+ cache : yarn
48+ - name : Install
49+ run : yarn install --immutable
50+ - name : Test
51+ run : yarn test
Original file line number Diff line number Diff line change 1- name : ' CodeQL analysis'
1+ name : CodeQL analysis
22
33on :
44 push :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9191 "access" : " public"
9292 },
9393 "scripts" : {
94- "gendocs" : " typedoc --options typedoc.js src/" ,
95- "lint:eslint" : " eslint 'src'" ,
96- "lint:prettier" : " prettier --check ." ,
97- "lint:fix" : " yarn lint:eslint --fix && yarn lint:prettier --write" ,
98- "lint" : " yarn lint:eslint && yarn lint:prettier" ,
99- "type-check" : " tsc --noEmit" ,
94+ "check:format" : " prettier --check ." ,
95+ "format" : " yarn check:format --write" ,
96+ "check:lint" : " eslint 'src'" ,
97+ "check:type" : " tsc --noEmit" ,
10098 "test" : " NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest" ,
10199 "build:esm" : " tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs" ,
102100 "build:cjs" : " tsc -b tsconfig.cjs.json" ,
103101 "build:umd" : " rollup --configPlugin typescript --config rollup.config.ts" ,
104102 "build" : " yarn build:esm && yarn build:cjs && yarn build:umd" ,
105- "release" : " semantic-release"
103+ "release" : " semantic-release" ,
104+ "gendocs" : " typedoc --options typedoc.js src/"
106105 },
107106 "workspaces" : [
108107 " implementations/**/*"
You can’t perform that action at this time.
0 commit comments