Skip to content

Commit 02d4086

Browse files
authored
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
1 parent 4e7f7f6 commit 02d4086

File tree

150 files changed

+1544
-1684
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+1544
-1684
lines changed

.circleci/config.yml

Lines changed: 0 additions & 281 deletions
This file was deleted.

.codesandbox/ci.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.html
2-
*.js
2+
*.js
3+
node_modules

.github/workflows/ci.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
name: CI
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches: master
8+
9+
jobs:
10+
check:
11+
name: Checks
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Setup Node
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: '16'
24+
25+
- name: Get Yarn cache directory
26+
id: yarn-cache-dir-path
27+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
28+
29+
- name: Use Yarn cache
30+
uses: actions/cache@v3
31+
id: yarn-cache
32+
with:
33+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
34+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
35+
restore-keys: |
36+
${{ runner.os }}-yarn-
37+
38+
- name: Install Dependencies
39+
run: yarn install --frozen-lockfile --non-interactive --silent
40+
41+
- name: TypeScript
42+
run: yarn run type-check
43+
44+
- name: Lint
45+
run: yarn run lint
46+
47+
## TODO: consolidate in linting step
48+
- name: Prettier
49+
run: yarn run lint:prettier
50+
51+
- name: Unit Tests
52+
run: yarn run test --coverage
53+
env:
54+
TZ: Europe/London
55+
HEADLESS: true
56+
57+
- name: Build
58+
run: yarn build && yarn bundle
59+
60+
- name: Lint FireFox
61+
run: yarn run lint:firefox

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13
1+
16

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vscode/
22
cosmos-export/
33
dist/
4+
*.yml

.renovaterc.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)