This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
Bump mysql2 from 2.3.3 to 3.9.4 #18
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x] | |
steps: | |
# Setup MySQL | |
- uses: mirromutth/[email protected] | |
with: | |
mysql version: '8.0' | |
mysql database: 'sequelize_tokenify_test' | |
mysql user: 'devuser' | |
mysql password: 'devpass' | |
# Tests | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test_with_report | |
# Coverage | |
- if: | | |
matrix.node-version == '18.x' && | |
github.ref == format('refs/heads/{0}', github.event.repository.default_branch) | |
name: Update Coverage Badge | |
uses: we-cli/coverage-badge-action@main |