diff --git a/.github/workflows/monkey-ci.yml b/.github/workflows/monkey-ci.yml index 0fde717a5d06..4edbb5073168 100644 --- a/.github/workflows/monkey-ci.yml +++ b/.github/workflows/monkey-ci.yml @@ -11,7 +11,7 @@ permissions: on: pull_request: branches: [main] - types: [opened, synchronize] + types: [opened, reopened, synchronize, labeled, ready_for_review] concurrency: group: group-${{ github.ref }}-${{ github.workflow }} @@ -88,19 +88,19 @@ jobs: key: ${{ runner.os }}-${{ env.NODE_VERSION }}-build-${{ env.cache-name }}-${{ hashFiles('pnpm-lock.yaml') }} lookup-only: true - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} + - if: steps.cache-pnpm.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'refresh-ci-cache') name: Full checkout uses: actions/checkout@v4 - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} + - if: steps.cache-pnpm.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'refresh-ci-cache') name: Set up Node.js uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} + - if: steps.cache-pnpm.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'refresh-ci-cache') name: Install dependencies - run: CI=true pnpm i --frozen-lockfile + run: CI=true pnpm install --frozen-lockfile ci-be: name: ci-be @@ -138,9 +138,8 @@ jobs: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-${{ env.NODE_VERSION }}-build-${{ env.cache-name }}-${{ hashFiles('pnpm-lock.yaml') }} - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} - name: Install dependencies - run: CI=true pnpm i --frozen-lockfile + - name: Install dependencies + run: CI=true pnpm install --frozen-lockfile - name: Check lint run: npm run lint-fast-be && npm run lint-be @@ -191,9 +190,8 @@ jobs: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-${{ env.NODE_VERSION }}-build-${{ env.cache-name }}-${{ hashFiles('pnpm-lock.yaml') }} - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} - name: Install dependencies - run: CI=true pnpm i --frozen-lockfile + - name: Install dependencies + run: CI=true pnpm install --frozen-lockfile - name: Check lint run: npm run lint-fast-fe && npm run lint-fe @@ -258,9 +256,8 @@ jobs: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-${{ env.NODE_VERSION }}-build-${{ env.cache-name }}-${{ hashFiles('pnpm-lock.yaml') }} - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} - name: Install dependencies - run: CI=true pnpm i --frozen-lockfile + - name: Install dependencies + run: CI=true pnpm install --frozen-lockfile - name: Lint styles if: steps.filter.outputs.styles == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') @@ -317,9 +314,8 @@ jobs: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-${{ env.NODE_VERSION }}-build-${{ env.cache-name }}-${{ hashFiles('pnpm-lock.yaml') }} - - if: ${{ steps.cache-pnpm.outputs.cache-hit != 'true' }} - name: Install dependencies - run: CI=true pnpm i --frozen-lockfile + - name: Install dependencies + run: CI=true pnpm install --frozen-lockfile - name: Check lint run: npm run lint-fast-pkg && npm run lint-pkg @@ -329,21 +325,3 @@ jobs: - name: Test run: npm run test-pkg - - on-failure: - name: on-failure - runs-on: ubuntu-latest - needs: [ci-be, ci-fe, ci-assets, ci-pkg] - if: ${{ always() && contains(needs.*.result, 'failure') && github.ref != 'refs/heads/main' }} - steps: - - name: Save the PR number in an artifact - shell: bash - env: - PR_NUM: ${{ github.event.number }} - run: echo $PR_NUM > pr_num.txt - - - name: Upload the PR number - uses: actions/upload-artifact@v4 - with: - name: pr_num - path: ./pr_num.txt diff --git a/frontend/static/themes/rainbow_trail.css b/frontend/static/themes/rainbow_trail.css index 88077b8c767f..2a8520335338 100644 --- a/frontend/static/themes/rainbow_trail.css +++ b/frontend/static/themes/rainbow_trail.css @@ -42,12 +42,7 @@ footer button:hover > .relative > i, #restartTestButtonWithSameWordset:hover > i, #nextTestButton:hover > i, #practiseWordsButton:hover > i, -#watchReplayButton:hover > i, -footer a:hover, -footer a:hover > i, -footer button:hover, -footer button:hover > i, -footer button:hover > .relative > i { +#watchReplayButton:hover > i { background: linear-gradient( 90deg, #60b6ce,