Skip to content

Commit

Permalink
chore(workspace): update dependencies and bring in-line with main repo (
Browse files Browse the repository at this point in the history
#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
JoviDeCroock authored Feb 14, 2023
1 parent 4e7f7f6 commit 02d4086
Show file tree
Hide file tree
Showing 150 changed files with 1,544 additions and 1,684 deletions.
281 changes: 0 additions & 281 deletions .circleci/config.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .codesandbox/ci.json

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.html
*.js
*.js
node_modules
61 changes: 61 additions & 0 deletions .github/workflows/ci.yml
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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13
16
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/
cosmos-export/
dist/
*.yml
34 changes: 0 additions & 34 deletions .renovaterc.json

This file was deleted.

Loading

0 comments on commit 02d4086

Please sign in to comment.