Commit 9fa10c24 authored by Adam Parák's avatar Adam Parák 💬
Browse files

Merge branch 'master-ci' into 'master'

CI for Linting/Prettier/TSC

See merge request inject/frontend!170
parents 7855f6c3 59fcfb75
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+30 −0
Original line number Diff line number Diff line
image: node:20
stages:
  - test

default:
  tags:
    - inject
  before_script:
    - yarn

# here we can use one cache for all jobs
cache:
  key: yarn-cache
  paths: [ .yarn ]

unit-test-job:
  stage: test
  script:
    - yarn test

lint-test-job:
  stage: test
  script:
    - yarn lint

tsc-test-job:
  stage: test
  script:
    - yarn workspace @inject/frontend tsc -b
    - yarn workspace @inject/frontend tsc