Skip to content

Commit

Permalink
Update frontend.yml and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Feb 15, 2024
1 parent 174bdc0 commit e1fca1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "20.11"
# Python
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: "1.7.1"
virtualenvs-create: true
virtualenvs-in-project: false
virtualenvs-path: ~/my-custom-path
installer-parallel: true

# Install dependencies
- name: Install dependencies
run: yarn
run: yarn install:frontend

# Lint and test
- name: Lint
run: yarn lint
run: yarn lint:frontend
- name: Test
run: yarn test
run: yarn test:frontend
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"install-deps": "yarn; concurrently \"yarn install:backend\" \"yarn install:frontend\" ",
"install:backend": "cd backend; poetry install --no-root",
"install:frontend": "cd frontend; yarn",
"lint:frontend": "cd frontend; yarn lint",
"start": "electron .",
"start:frontend": "cd frontend; yarn start",
"test:frontend": "cd frontend; yarn test"
Expand Down

0 comments on commit e1fca1c

Please sign in to comment.