Skip to content

Fix yarn issue

Fix yarn issue #240

Workflow file for this run

name: Feature Branch CI/CD
on:
push:
branches:
- "feature/*"
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- name: Lint Python Code
run: python -V
eslint:
runs-on: ubuntu-latest
steps:
- name: Update Yarn
run: yarn set version berry
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
- name: Install project dependencies
run: yarn install
- name: Lint
run: |
echo "yarn version: $(yarn --version)"
yarn workspace mybyte run lint
pytest:
needs: flake8
runs-on: ubuntu-latest
steps:
- name: Test Python Code
run: echo "PYTHON UNIT TESTING COMPLETE"
jest:
needs: eslint
runs-on: ubuntu-latest
steps:
- name: Test Typescript Code
run: echo "TYPESCRIPT UNIT TESTING COMPLETE"