Skip to content

Commit

Permalink
fix node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sShaAanGg committed Oct 19, 2023
1 parent f550dd8 commit dcbc8ab
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,24 @@ jobs:
# Opens tcp port 3306 on the host and service container
- 3306:3306
steps:
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v4

- name: Connect to mySQL
# Runs a script that creates a mySQL table, populates
# the table with data, and then retrieves the data
run: echo "Connected to mySQL"
run: echo "Connected to mySQL"
# Environment variables used by the script to create
# a new mySQL table.
env:
DB_NAME: 'library'
DB_USER: 'root'
DB_PASS: ${{ secrets.DB_PASS }}
# The hostname used to communicate with the mySQL service container
DB_HOST: localhost
# The default mySQL port
DB_PORT: 3306
env:
DB_NAME: 'library'
DB_USER: 'root'
DB_PASS: ${{ secrets.DB_PASS }}
# The hostname used to communicate with the mySQL service container
DB_HOST: localhost
# The default mySQL port
DB_PORT: 3306

build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit dcbc8ab

Please sign in to comment.