File tree Expand file tree Collapse file tree 5 files changed +80
-0
lines changed
Expand file tree Collapse file tree 5 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ goharbor
2+ testuser
3+ testpass
4+ testrepo
5+ cachedrepo
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-24.04
8+ strategy :
9+ matrix :
10+ node-version : [20.x, 22.x]
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Use Node.js ${{ matrix.node-version }}
14+ uses : actions/setup-node@v4
15+ with :
16+ node-version : ${{ matrix.node-version }}
17+ - run : yarn install
18+ - run : yarn lint
19+ - run : yarn test
Original file line number Diff line number Diff line change 1+ name : ' Check spelling'
2+ on :
3+ pull_request :
4+ push :
5+
6+ jobs :
7+ spellcheck :
8+ runs-on : ubuntu-24.04
9+ steps :
10+ - uses : actions/checkout@v4
11+ - uses : streetsidesoftware/cspell-action@v6
12+ with :
13+ files : src/**/*.{ts,js,tsx}
14+ incremental_files_only : false
Original file line number Diff line number Diff line change 1+ name : Semgrep OSS scan
2+
3+ on :
4+ pull_request : {}
5+ workflow_dispatch : {}
6+ push :
7+ branches : ["main"]
8+ jobs :
9+ semgrep :
10+ name : semgrep-oss/scan
11+ runs-on : ubuntu-24.04
12+ container :
13+ image : semgrep/semgrep
14+ # Skip any PR created by dependabot to avoid permission issues:
15+ if : (github.actor != 'dependabot[bot]')
16+ steps :
17+ - uses : actions/checkout@v4
18+ - run : semgrep scan --config auto
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 0.2" ,
3+ "ignorePaths" : [
4+ " **/images/**"
5+ ],
6+ "dictionaryDefinitions" : [
7+ {
8+ "name" : " dictionary" ,
9+ "path" : " ./.cspell/dictionary" ,
10+ "addWords" : true
11+ }
12+ ],
13+ "dictionaries" : [
14+ " dictionary" ,
15+ " html" ,
16+ " typescript" ,
17+ " javascript"
18+ ],
19+ "words" : [],
20+ "ignoreWords" : [],
21+ "import" : [],
22+ "language" : " en,en-GB" ,
23+ "useGitignore" : true
24+ }
You can’t perform that action at this time.
0 commit comments