-
-
Notifications
You must be signed in to change notification settings - Fork 9
35 lines (35 loc) · 810 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Lint & Test
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Node JS
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Test Postgres Dialect
run: pnpm test:pg
- name: Test MySQL Dialect
run: pnpm test:mysql
- name: Test SQLite Dialect
run: pnpm test:sqlite