chore(deps-dev): bump msw from 2.5.2 to 2.6.5 #1756
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-mysql@main | |
- uses: serlo/configure-repositories/actions/setup-node@main | |
- run: yarn start:containers | |
- run: scripts/mysql/wait-for-mysql.sh | |
- run: yarn migrate:all | |
# It seems that running tests for changing taxonomies in parallel | |
# to metadata query messes up with internal optimizatons so that | |
# testing metadata endpoint runs into a timout | |
# => solution: Run tests for metadata in an extra step | |
- run: yarn test metadata.ts | |
- run: yarn test --testPathIgnorePatterns metadata.ts __utils__ | |
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 |