Skip to content

Commit

Permalink
2026: Make sure license file exists for type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsporck committed Oct 12, 2023
1 parent 5302372 commit a2ed7d0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ commands:
steps:
- restore_cache:
keys:
- 9-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
- 9-yarn-{{ arch }}-
- 8-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
- 8-yarn-{{ arch }}-
name: Restore Yarn Package Cache
- run:
command: yarn install --immutable --immutable-cache
Expand All @@ -172,7 +172,7 @@ commands:
name: Yarn native
working_directory: native
- save_cache:
key: 9-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
key: 8-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
name: Save Yarn Package Cache
paths:
- native/.yarn/cache
Expand Down Expand Up @@ -476,13 +476,12 @@ jobs:
- run:
command: yarn workspace web stylelint
name: Stylelint
- run:
command: yarn generate-licenses
name: Generate licenses native
- run:
command: yarn ts:check
name: TS check
- run:
command: yarn tsc --build
name: TS check native
working_directory: native
- unit_test
deliver_android:
docker:
Expand Down
6 changes: 3 additions & 3 deletions .circleci/src/commands/restore_yarn_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ steps:
- restore_cache:
name: Restore Yarn Package Cache
keys:
- 9-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
- 9-yarn-{{ arch }}-
- 8-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
- 8-yarn-{{ arch }}-
- run:
name: Yarn
command: yarn install --immutable --immutable-cache
Expand All @@ -14,7 +14,7 @@ steps:
command: yarn install --immutable
- save_cache:
name: Save Yarn Package Cache
key: 9-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
key: 8-yarn-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum "native/yarn.lock"}}-{{ checksum "package.json" }}-{{ checksum "native/package.json" }}-{{ checksum "web/package.json" }}
paths:
- native/.yarn/cache
- native/.yarn/install-state.gz
Expand Down
7 changes: 3 additions & 4 deletions .circleci/src/jobs/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ steps:
- run:
name: Stylelint
command: yarn workspace web stylelint
- run:
name: Generate licenses native
command: yarn generate-licenses
- run:
name: TS check
command: yarn ts:check
- run:
name: TS check native
command: yarn tsc --build
working_directory: native
- unit_test

0 comments on commit a2ed7d0

Please sign in to comment.