File tree Expand file tree Collapse file tree
tests/test-cases/predefined-variables Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 - run : node dist/index.js --help
3636 - run : head -1 dist/index.js | grep -q '#!/usr/bin/env node'
3737
38+ typecheck :
39+ runs-on : ubuntu-24.04
40+ steps :
41+ - uses : actions/checkout@v6.0.2
42+ - uses : oven-sh/setup-bun@v2.1.2
43+ with :
44+ bun-version : 1.3.10
45+ - run : bun install --frozen-lockfile
46+ - run : bun run typecheck
47+
3848 eslint :
3949 runs-on : ubuntu-24.04
4050 steps :
Original file line number Diff line number Diff line change 11import schema from "./schema.json" ;
22
33// Remove patterns that are too strict for gitlab-ci-local usage
4- // @ts -expect-error ts-expect-error
54delete schema . definitions . include_item . oneOf [ 0 ] . pattern ; // include shorthand rejects glob wildcards
6- // @ts -expect-error ts-expect-error
75delete schema . definitions . cache_item . properties . key . oneOf [ 0 ] . pattern ; // cache key rejects paths with /
86// @ts -expect-error ts-expect-error
97delete schema . definitions . job_template . properties . environment . oneOf [ 1 ] . properties . name . minLength ; // environment name rejects unexpanded variables
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ beforeAll(() => {
103103 if ( args . length === 0 ) {
104104 super ( _mockDate . getTime ( ) ) ;
105105 } else {
106- super ( ...args ) ;
106+ super ( ...( args as [ number ] ) ) ;
107107 }
108108 }
109109 } as any ;
You can’t perform that action at this time.
0 commit comments