Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu committed Oct 2, 2023
1 parent dcb417a commit 3ea0390
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
jobs:
lint:
strategy:
matrix:
language: [ ts ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -19,20 +17,19 @@ jobs:
- name: Cache node modules
uses: actions/cache@v3
with:
path: ./${{ matrix.language }}/node_modules
path: ./ts/node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: node_modules-
- name: Install
run: npm install
working-directory: ./${{ matrix.language }}
working-directory: ./ts
- name: Lint check
run: npm run fmt-check
working-directory: ./${{ matrix.language }}
working-directory: ./ts
integration-tests:
strategy:
matrix:
dialect: [ mysql, postgres, sqlite ]
language: [ ts ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -42,15 +39,15 @@ jobs:
- name: Cache node modules
uses: actions/cache@v3
with:
path: ./${{ matrix.language }}/node_modules
path: ./ts/node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: node_modules-
- name: Install
run: npm install
working-directory: ./${{ matrix.language }}
working-directory: ./ts
- uses: ariga/setup-atlas@master
- name: Run Test as Standalone
working-directory: ./${{ matrix.language }}/testdata
working-directory: ./ts/testdata
run: |
atlas migrate diff --env typeorm --var dialect=${{ matrix.dialect }}
- name: Verify migrations generated
Expand Down

0 comments on commit 3ea0390

Please sign in to comment.