Skip to content

Commit

Permalink
Fix failing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Skeli789 committed Nov 28, 2023
1 parent 49b363b commit 233c1ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn && yarn install-client
run: yarn install-modules
- name: Run build
run: yarn build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn && yarn install-client
run: yarn install-modules
- name: Run lint script
run: yarn lint
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
"scripts": {
"start-client": "react-scripts start",
"start": "cd server && yarn start",
"build": "yarn install && react-scripts build && (cd server && yarn install && yarn build)",
"build": "yarn install && react-scripts build && (cd server && yarn build)",
"test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(react-github-btn|react-bootstrap))'",
"eject": "react-scripts eject",
"lint": "yarn eslint . --ext .ts,.tsx",
"fix": "yarn eslint . --ext .ts,.tsx --fix",
"dev": "yarn lint && yarn build && yarn start"
"lint": "yarn eslint . --ext .ts,.tsx && cd server && yarn lint",
"fix": "yarn eslint . --ext .ts,.tsx --fix && cd server && yarn fix",
"dev": "yarn lint && yarn build && yarn start",
"install-modules": "yarn install && (cd server && yarn install)"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"type": "module",
"scripts": {
"start": "node dist/index.js",
"build": "yarn tsc",
"build": "yarn install && yarn tsc",
"test": "exit 0",
"lint": "yarn eslint . --ext .ts,.tsx",
"fix": "yarn eslint . --ext .ts,.tsx --fix"
Expand Down

0 comments on commit 233c1ad

Please sign in to comment.