Updated key to remount the title #517
Workflow file for this run
This file contains 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: Unit tests | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
# https://github.com/pnpm/action-setup | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 8.x.x | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v4 | |
name: Setup pnpm cache | |
with: | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-v2-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store-v2- | |
- name: Install dependencies | |
run: pnpm install | |
- name: Check linter | |
run: pnpm lint:check | |
- name: Build core | |
working-directory: packages/core | |
run: pnpm build | |
- name: Build rest | |
run: pnpm --filter compile --filter viewer run build | |
- name: Run all tests | |
run: pnpm --recursive run test:cov |