Colour scheme switcher #20
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
# This workflow will install dependencies, run tests and lint | |
name: Run CI | |
on: | |
push: | |
branches: [ "main" ] | |
tags: ['v*'] | |
pull_request: | |
types: [ opened, synchronize ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: ["22.12.0"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: | | |
args: [ --force ] | |
- name: Set Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: pnpm | |
- name: Run Typescript tests and lint client code | |
run: | | |
pnpm lint | |
pnpm jest | |
pnpm build |