New strategies #553
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Runs All interface Unit Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| defaults: | |
| run: | |
| working-directory: ./interface | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.15.0' | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Prepare Yarn 4.9.1 | |
| run: corepack prepare yarn@4.9.1 --activate | |
| - name: Cache Yarn | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| .yarn/cache | |
| .yarn/unplugged | |
| .yarn/build-state.yml | |
| .yarn/install-state.gz | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| env: | |
| YARN_ENABLE_HARDENED_MODE: 0 | |
| - name: Sync SvelteKit config | |
| run: yarn svelte-kit sync | |
| - name: Execute Unit tests | |
| run: yarn test:unit |