Skip to content

Commit

Permalink
fix(rules): add CirrusCi
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Jun 28, 2023
1 parent a25479d commit 5feaee1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const list: TechItem[] = [
{ key: 'caddy', name: 'Caddy', type: 'app' },
{ key: 'cassandra', name: 'Cassandra', type: 'db' },
{ key: 'circleci', name: 'CircleCi', type: 'ci' },
{ key: 'cirrusci', name: 'CirrusCi', type: 'ci' },
{ key: 'codesandboxci', name: 'CodesandboxCI', type: 'ci' },
{ key: 'couchbase', name: 'Couchbase', type: 'db' },
{ key: 'cplusplus', name: 'C++', type: 'language' },
Expand Down
1 change: 1 addition & 0 deletions src/rules/ci.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ describe('ci', () => {
'appveyor',
'browserstack',
'circleci',
'cirrusci',
'codesandboxci',
'cypressci',
'dependabot',
Expand Down
6 changes: 6 additions & 0 deletions src/rules/ci/cirrusci.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { register } from '../../rules.js';

register({
tech: 'cirrusci',
files: ['.cirrus.yml'],
});
1 change: 1 addition & 0 deletions src/rules/ci/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import './appveyor.js';
import './browserstack.js';
import './circleci.js';
import './cirrusci.js';
import './codesandboxci.js';
import './cypressci.js';
import './dependabot.js';
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type AllowedKeys =
| 'caddy'
| 'cassandra'
| 'circleci'
| 'cirrusci'
| 'codesandboxci'
| 'couchbase'
| 'cplusplus'
Expand Down

0 comments on commit 5feaee1

Please sign in to comment.