twenty/.github/workflows/ci-server.yaml
Jérémy M edee69bc07
Fix double Run CI (#459)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-27 17:55:07 +02:00

23 lines
517 B
YAML

name: CI Server
on:
push:
branches:
- main
pull_request_target:
jobs:
server-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Server / Install Dependencies
run: cd server && yarn install
- name: Server / Run linter
run: cd server && yarn lint
- name: Server / Run jest tests
run: |
cd server && yarn test