Skip to content

Commit

Permalink
Merge pull request #121 from ninoseki/update-frontend
Browse files Browse the repository at this point in the history
Update frontend
  • Loading branch information
ninoseki committed Aug 9, 2021
2 parents b839a8d + 4f8a5f1 commit 0c35556
Show file tree
Hide file tree
Showing 5 changed files with 5,976 additions and 10,734 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node.js CI

on: ["pull_request", "push"]

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./frontend

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install npm dependencies
run: npm install

- name: Run tests
run: npm run test:unit
3 changes: 2 additions & 1 deletion frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module.exports = {
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"simple-import-sort/sort": "error",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
},
overrides: [
{
Expand Down

0 comments on commit 0c35556

Please sign in to comment.