32 lines
564 B
YAML
32 lines
564 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 24
|
|
|
|
- name: Cache yarn dependencies
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
node_modules
|
|
~/.cache/yarn
|
|
key: yarn-${{ hashFiles('yarn.lock') }}
|
|
restore-keys: yarn-
|
|
|
|
- run: yarn install --frozen-lockfile
|
|
|
|
- run: yarn test:report --run
|