Add mssql connector #3
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: Run core and parse unit tests (use Node.js 16.x) | |
on: | |
push: | |
branches: [ master] | |
paths-ignore: | |
- 'dbml-homepage/**' | |
pull_request: | |
# branches: [ master ] | |
types: [opened, synchronize] | |
paths-ignore: | |
- 'dbml-homepage/**' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install parse dependencies | |
run: yarn install --frozen-lockfile | |
working-directory: packages/dbml-parse | |
- name: Install core dependencies | |
run: yarn install --frozen-lockfile | |
working-directory: packages/dbml-core | |
- name: Build parse packages | |
run: yarn build | |
working-directory: packages/dbml-parse | |
- name: Build core packages | |
run: yarn build | |
working-directory: packages/dbml-core | |
- name: Run parse unit tests | |
run: yarn test | |
working-directory: packages/dbml-parse | |
- name: Run core unit tests | |
run: yarn test | |
working-directory: packages/dbml-core |