diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 89a484fae..ba39bd148 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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