Skip to content

ci: add an action for tests #1

ci: add an action for tests

ci: add an action for tests #1

Workflow file for this run

name: Test
on:
pull_request:

Check failure on line 4 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
paths:
- 'packages'
- 'test'
- '.github/workflows/test.yaml'
jobs:
test:
name: Check that packages compiles, lint and tests pass
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build:packages
- name: Lint
run: npm run lint
- name: Test
run: npm test