Skip to content

Commit

Permalink
Still getting errors with tests. Trying this.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigfried committed Nov 5, 2024
1 parent 58ae62c commit be67048
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/test_frontend_unit_and_qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,16 @@ jobs:
with:
node-version: '22.x'
cache: 'yarn'
cache-dependency-path: 'frontend/yarn.lock'

# Yarn Setup
# cache: 'yarn' # Enable yarn cache
# manual caching steps
- name: get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('frontend/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
# run: cd frontend && npm ci # only playwright is necessary to install
run: yarn install --frozen-lockfile # Equivalent to npm ci
working-directory: frontend
run: |
echo "Current directory:"
pwd
echo "Directory contents:"
ls -la
yarn install --frozen-lockfile
# Run tests
- name: Run tests
run: make test-frontend-unit

0 comments on commit be67048

Please sign in to comment.