Skip to content

Commit

Permalink
chore: Move CI testing to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoltman committed Mar 29, 2023
1 parent 60f2fa8 commit eb8d31b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [push]

strategy:
matrix:
node-version: [16.x, 18.x, 19.x]

env:
MYSQL_USER: root
MYSQL_PASSWORD: root
MYSQL_DATABASE: test_db

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Start MySQL
run: sudo /etc/init.d/mysql start
- name: Check out code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test

0 comments on commit eb8d31b

Please sign in to comment.