Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test

on:
pull_request:

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "24.x"

- name: Cache Yarn dependencies
uses: actions/cache@v4
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
timeout-minutes: 0.5
continue-on-error: true

- name: Verify Yarn cache
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: mkdir -p ~/.cache/yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Run tests
run: yarn test