diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 9772cdfd0..9fb0880ae 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -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 \ No newline at end of file + run: yarn test:frontend \ No newline at end of file diff --git a/package.json b/package.json index 9a5e3b11b..c5b8601d1 100644 --- a/package.json +++ b/package.json @@ -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"