Skip to content

Merge pull request #1166 from serlo/dependabot/npm_and_yarn/openai-4.… #18

Merge pull request #1166 from serlo/dependabot/npm_and_yarn/openai-4.…

Merge pull request #1166 from serlo/dependabot/npm_and_yarn/openai-4.… #18

Workflow file for this run

name: CI Checks
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
yarn:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn --check-cache
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn lint:eslint
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn lint:prettier
tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn lint:tsc
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn start:redis
- run: yarn test
test_pacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn start:redis
- run: yarn pacts
- name: Check for uncommitted changes
run: |
if ! git diff --exit-code; then
echo "There are uncommitted changes in the repository."
exit 1
fi
codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn codegen
- name: Check for uncommitted changes
run: |
if ! git diff --exit-code; then
echo "There are uncommitted changes in the repository."
exit 1
fi