chore: update fastify #435
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: Build verification | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
jobs: | |
build-tasks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shogo82148/actions-setup-mysql@v1 | |
with: | |
mysql-version: '8.0' | |
- name: install mysql | |
run: mysql -uroot -h127.0.0.1 -e 'SELECT version()' | |
- uses: actions/checkout@v4 | |
- name: Npm Install | |
run: | | |
npm install | |
- name: eslint using npm run eslint | |
run: | | |
npm run lint | |
- name: building build | |
run: | | |
npm run build | |
- name: Unit tests with coverage | |
run: | | |
npm run cover:unit | |
- name: Running Integration tests | |
run: | | |
npm run test:integ |