-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(workspace): update dependencies and bring in-line with main repo (
#401) * re-arrange deps to reflect dev vs prod * update babel * remove graphql-tag * update production dependencies * cleanup extra files * add basic ci flow * add visual regression * fix lint error * upgrade typescript * fix prettier * enzyme react 17 * update license * ensure circleci works so we can compare * remove cross-env * fix tests * upgrade buildkite/puppeteer * remove visual regression for now as we need to run that in the background * reduce tasks that are going on in actions already * fix circle * use node 14 for now as buildkite/puppeteer only has that * try visual regression action * update viz reression * add snapshots * remove visual regression for now * Revert "remove visual regression for now" This reverts commit 4e1e53e. * update snapshots * correct port * use Roboto * tweak font rendering * update snappers * update snapshots * update matching * remove visual regression * remove lint firefox from circle * remove visual regression snapshots * remove circleCI, we will manually publish changes due to a token issue * Revert "remove visual regression snapshots" This reverts commit ddd414a. * try smth * Revert "try smth" This reverts commit ff79109. * cleanup * more cleanup * update lockfile
- Loading branch information
1 parent
4e7f7f6
commit 02d4086
Showing
150 changed files
with
1,544 additions
and
1,684 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.html | ||
*.js | ||
*.js | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: master | ||
|
||
jobs: | ||
check: | ||
name: Checks | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Get Yarn cache directory | ||
id: yarn-cache-dir-path | ||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Use Yarn cache | ||
uses: actions/cache@v3 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile --non-interactive --silent | ||
|
||
- name: TypeScript | ||
run: yarn run type-check | ||
|
||
- name: Lint | ||
run: yarn run lint | ||
|
||
## TODO: consolidate in linting step | ||
- name: Prettier | ||
run: yarn run lint:prettier | ||
|
||
- name: Unit Tests | ||
run: yarn run test --coverage | ||
env: | ||
TZ: Europe/London | ||
HEADLESS: true | ||
|
||
- name: Build | ||
run: yarn build && yarn bundle | ||
|
||
- name: Lint FireFox | ||
run: yarn run lint:firefox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
13 | ||
16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode/ | ||
cosmos-export/ | ||
dist/ | ||
*.yml |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.