Skip to content

fix workflows, add docs #2

fix workflows, add docs

fix workflows, add docs #2

Workflow file for this run

name: core-test
on:
pull_request:
types:
- review_requested
branches:
- dev
paths:
- "packages/client/**"
- erhant/workspaces # TODO: remove
push:
branches:
- master
- erhant/workspaces # TODO: remove
paths:
- "packages/client/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install
run: pnpm --filter ./packages/core install
- name: Build
run: pnpm --filter ./packages/core run build
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 7
redis-port: 6379
- name: Test
run: pnpm --filter ./packages/core run test