Bump @lokalise/background-jobs-common from 7.7.0 to 8.0.0 #1480
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 | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install | |
run: | | |
npm install --ignore-scripts | |
npx prisma generate | |
- name: Docker start | |
run: | | |
docker compose up -d --quiet-pull | |
- name: Build TS | |
run: | | |
npm run build | |
- name: Schema preparation | |
run: | | |
npm run copy:config | |
npm run db:wait | |
npm run db:migration:run | |
- name: Run Tests | |
run: | | |
npm run test:ci | |
- name: Run lint | |
run: | | |
npm run lint | |
- name: DB stop | |
run: | | |
docker compose down | |
- name: Generate and validate OpenAPI schema | |
run: | | |
npm run spec:generate | |
automerge: | |
needs: build | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: fastify/github-action-merge-dependabot@v3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |