diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62e1732..444e1de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,23 +16,17 @@ jobs: steps: - - name: Checkout code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'pip' # caching pip dependencies + - run: pip install -r irctc-captcha-solver/requirements.txt - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip - pip install -r irctc-captcha-solver/requirements.txt - - - name: Install Node.js and npm - uses: actions/setup-node@v4 - with: - node-version: '21.7.1' + - name: Install Node.js and npm + uses: actions/setup-node@v4 + with: + node-version: '21.7.1' #- name: Installing Cypress # run: npm install cypress