Skip to content

ci: separate jobs into workflows #5

ci: separate jobs into workflows

ci: separate jobs into workflows #5

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:

Check failure on line 10 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yaml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
node: ["18", "20", "22"]
name: Test Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
run: npm install -g pnpm
- name: Start Services
run: pnpm test:services:start
- name: Install Dependencies
run: pnpm install
- name: Run the Tests
run: pnpm test