Skip to content

New noto sans

New noto sans #21

Workflow file for this run

name: CI-Pipeline
on:
pull_request:
push:
branches:
- 'develop'
- 'main'
- 'release/*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
# - uses: pnpm/action-setup@v4
# with:
# run_install: false
# version: 8
# - uses: actions/setup-node@v4
# with:
# cache: pnpm
# node-version: 20
# https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time
- name: Install Node.js
uses: actions/setup-node@v4
with:
# cache: pnpm
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9
run_install: false
- 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
restore-keys: |
${{ runner.os }}-pnpm-store
- name: Install
run: pnpm i --no-frozen-lockfile
- name: Install Playwright
run: pnpm exec playwright install
# - name: Unused
# run: pnpm unused
- name: Format
run: pnpm format
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- uses: actions/upload-artifact@v4
if: failure()
name: Upload test reports
with:
name: reports
path: |
test-results/**/*.png
!**/node_modules