Skip to content

Commit

Permalink
move all content of ts dir to root
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu committed Oct 3, 2023
1 parent e6160dd commit 3f1e7c8
Show file tree
Hide file tree
Showing 32 changed files with 4,928 additions and 4,938 deletions.
File renamed without changes.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ jobs:
- name: Cache node modules
uses: actions/cache@v3
with:
path: ./ts/node_modules
path: ./node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: node_modules-
- name: Install
run: npm install
working-directory: ./ts
- name: Lint check
run: npm run fmt-check
working-directory: ./ts
integration-tests:
strategy:
matrix:
Expand All @@ -39,20 +37,18 @@ jobs:
- name: Cache node modules
uses: actions/cache@v3
with:
path: ./ts/node_modules
path: ./node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: node_modules-
- name: Install
run: npm install
working-directory: ./ts
- name: Build Typescript Files
run: npm run build
working-directory: ./ts
- uses: ariga/setup-atlas@master
- name: Run Test as Standalone
# TODO: remove this when we have a standalone binary for js
if: ${{ matrix.language != 'js' }}
working-directory: ./ts/testdata/${{ matrix.language }}
working-directory: ./testdata/${{ matrix.language }}
run: |
atlas migrate diff --env typeorm -c "file://atlas-standalone.hcl" --var dialect=${{ matrix.dialect }}
- name: Verify migrations generated
Expand All @@ -64,8 +60,8 @@ jobs:
git --no-pager diff
exit 1
fi
- name: Run Test as ts Script
working-directory: ./ts/testdata/${{ matrix.language }}
- name: Run Test as ${{ matrix.language }} Script
working-directory: ./testdata/${{ matrix.language }}
run: |
atlas migrate diff --env typeorm -c "file://atlas-script.hcl" --var dialect=${{ matrix.dialect }}
- name: Verify migrations generated
Expand Down
File renamed without changes.
Loading

0 comments on commit 3f1e7c8

Please sign in to comment.