Chore(deps-dev): Bump typescript from 5.6.2 to 5.6.3 #83
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
# | |
# GitHub Actions workflow. | |
# | |
# Perfoms the following actions on a pull request: | |
# * Checkout the code | |
# * Install Node.js | |
# * Prepare the environment | |
# * Install dependencies | |
# * Lint the code | |
# * Run the tests | |
# * Confirm the build runs | |
# | |
name: 'PR Checks: Llana' | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
pr_checks: | |
name: 'Pull Request Package: Llana' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_CI_CD_RELEASE }} | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.2 | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Setup MySQL | |
uses: ankane/setup-mysql@v1 | |
with: | |
mysql-version: 8.0 | |
database: llana | |
- name: Seed MySQL | |
run: mysql -uroot < demo/databases/mysql.sql | |
- name: Test | |
run: export DATABASE_URI="mysql://[email protected]:3306/llana" && npm run test |