Skip to content

Commit

Permalink
chore: minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 committed Feb 3, 2025
1 parent 89c8cee commit 9501d8e
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'main'

jobs:
setup:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -20,7 +20,6 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

# Cache node_modules after installing dependencies
- name: Cache node_modules
uses: actions/cache@v4
with:
Expand All @@ -29,7 +28,6 @@ jobs:
restore-keys: |
node-modules-${{ runner.os }}-
# Cache Cypress binary
- name: Cache Cypress Binary
uses: actions/cache@v4
with:
Expand All @@ -41,11 +39,6 @@ jobs:
- name: Test Build
run: yarn ci:testbuild

- name: List Build Folders (Debugging)
run: |
echo "Listing all packages and their contents..."
ls -R packages/ # This should now reflect your folder structure under packages/
- name: Upload Build Artifacts (All Packages)
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -74,7 +67,7 @@ jobs:
continue-on-error: true

check:
needs: setup
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -88,25 +81,23 @@ jobs:
node-version: 22
cache: 'yarn'

# Restore the node_modules cache from the setup job
- name: Restore node_modules Cache
- name: Reuse node_modules from cache
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
node-modules-${{ runner.os }}-
# Restore the Cypress binary cache from the setup job
- name: Restore Cypress Cache
- name: Restore Cypress from cache
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
cypress-${{ runner.os }}-
- name: Download Build Artifacts (All Packages)
- name: Download Build Artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
Expand Down

0 comments on commit 9501d8e

Please sign in to comment.