Changed route from v1 to v2 #39
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: Integration tests | |
on: [pull_request] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mirromutth/[email protected] | |
with: | |
character set server: "utf8" | |
collation server: "utf8_general_ci" | |
mysql version: "8.0" | |
mysql database: "webapp" | |
mysql root password: ${{ secrets.PASSWORD }} | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- name: Run tests | |
env: | |
USER: ${{ secrets.USER }} | |
PASSWORD: ${{ secrets.PASSWORD }} | |
HOST: ${{ secrets.HOST }} | |
run: | | |
sudo mkdir /var/log/webapp | |
npm test |