Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build
on:
pull_request:
push:
branches:
- main

jobs:
javascript:
name: Build JS
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
cache: "npm"
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm install
- name: Build JS
run: npm run build
39 changes: 39 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Static analysis
on:
pull_request:
push:
branches:
- main

jobs:
prettier-check:
name: Prettier check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
cache: "npm"
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm install
- name: Prettier check
run: npm run format:check

types-check:
name: Typescript check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Typescript check
run: npm run types:check
26 changes: 6 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules
/web/node_modules

# testing
/coverage

# production
/web/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# packages
node_modules/

# output
lib/
dist/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# packages
node_modules/

# output
lib/
dist/
File renamed without changes.
5 changes: 2 additions & 3 deletions readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### chess-timer

#### TL:DR

`git clone git@github.com:andycarrell/chess-timer.git`

`cd ./chess-timer`
Expand All @@ -9,9 +10,7 @@

`npm start`

#### Built on
[`create-react-app`](https://github.com/facebookincubator/create-react-app)

#### Icons

All icons have been sourced from flaticon.com, using
[Google's material design pack](https://www.flaticon.com/packs/material-design)
8 changes: 0 additions & 8 deletions mobile/.babelrc

This file was deleted.

63 changes: 0 additions & 63 deletions mobile/.flowconfig

This file was deleted.

3 changes: 0 additions & 3 deletions mobile/.gitignore

This file was deleted.

48 changes: 0 additions & 48 deletions mobile/App.js

This file was deleted.

9 changes: 0 additions & 9 deletions mobile/App.test.js

This file was deleted.

Loading