Bump @babel/traverse from 7.20.10 to 7.23.6 #33
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 and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
mysql: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x, 16.x] | |
database-type: [mysql56, mysql57, mysql8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Start Database(s) | |
run: | | |
docker-compose \ | |
--file "docker-compose.yml" \ | |
up \ | |
--detach \ | |
--build \ | |
"${{ matrix.database-type }}" | |
- name: Run npm install | |
run: npm ci | |
- name: Initialize Database | |
run: | | |
docker-compose \ | |
--file "docker-compose.yml" \ | |
up \ | |
"wait${{ matrix.database-type }}" | |
- name: Build and test | |
run: | | |
npm run build | |
npm run test:db | |
env: | |
CI: true | |
DB: ${{ matrix.database-type }} | |
- name: Stop Database(s) | |
run: | | |
docker-compose \ | |
--file "docker-compose.yml" \ | |
down | |
mariadb: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x, 16.x] | |
database-type: [mariadb1003, mariadb1004, mariadb1005, mariadb1006, mariadb1007, mariadb1008, mariadb1009, mariadb1010, mariadb1011] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Start Database(s) | |
run: | | |
docker-compose \ | |
--file "docker-compose.yml" \ | |
up \ | |
--detach \ | |
--build \ | |
"${{ matrix.database-type }}" | |
- name: Run npm install | |
run: npm ci | |
- name: Initialize Database | |
run: | | |
docker-compose \ | |
--file "docker-compose.yml" \ | |
up \ | |
"wait${{ matrix.database-type }}" | |
- name: Build and test | |
run: | | |
npm run build | |
npm run test:db | |
env: | |
CI: true | |
DB: ${{ matrix.database-type }} | |
- name: Stop Database(s) | |
run: | | |
docker-compose \ | |
--file "docker-compose.yml" \ | |
down |