Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1618 committed Dec 16, 2024
1 parent 9f3e5c1 commit 15c0944
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Change to server directory
run: cd server

- name: Install dependencies
working-directory: ./server
run: yarn install --frozen-lockfile

- name: Run ESLint
working-directory: ./server
run: yarn lint

test:
runs-on: ubuntu-latest
needs: lint
Expand All @@ -35,11 +35,10 @@ jobs:
with:
node-version: '20'

- name: Change to server directory
run: cd server

- name: Install dependencies
run: yarn install
working-directory: ./server
run: yarn install --frozen-lockfile

- name: Run tests
working-directory: ./server
run: yarn test
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"files.exclude": {
"**/.git": true,
"**/build": true,
"**/node_modules": true
},
"files.trimTrailingWhitespace": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"editor.tabSize": 2
}

0 comments on commit 15c0944

Please sign in to comment.