Skip to content

Commit

Permalink
chore: Apply nx to passport sample deployment (#2036)
Browse files Browse the repository at this point in the history
  • Loading branch information
shineli1984 authored Jul 30, 2024
1 parent 07675a9 commit b75ee55
Show file tree
Hide file tree
Showing 28 changed files with 11 additions and 15,068 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/passport-sdk-sample-app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,18 @@ jobs:
aws-region: ${{ env.AWS_REGION }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: Cache node modules
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --immutable
- name: setup
uses: ./.github/actions/setup

- name: Update SDK version
run: yarn workspace @imtbl/passport-sdk-sample-app update-sdk-version

- name: Build
run: export NODE_OPTIONS=--max-old-space-size=6144 && yarn build

- name: Build Passport sample app
run: yarn workspace @imtbl/passport-sdk-sample-app build

- name: Export Passport sample app
run: yarn workspace @imtbl/passport-sdk-sample-app export
run: yarn nx run @imtbl/passport-sdk-sample-app:export

- name: Upload to S3
run: |
Expand Down
56 changes: 0 additions & 56 deletions .github/workflows/playwright.yml

This file was deleted.

5 changes: 0 additions & 5 deletions examples/ts-immutable-sample/.env.example

This file was deleted.

10 changes: 0 additions & 10 deletions examples/ts-immutable-sample/.eslintignore

This file was deleted.

33 changes: 0 additions & 33 deletions examples/ts-immutable-sample/.eslintrc

This file was deleted.

24 changes: 0 additions & 24 deletions examples/ts-immutable-sample/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/ts-immutable-sample/.nvmrc

This file was deleted.

4 changes: 0 additions & 4 deletions examples/ts-immutable-sample/.prettierrc

This file was deleted.

49 changes: 0 additions & 49 deletions examples/ts-immutable-sample/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions examples/ts-immutable-sample/jest.config.js

This file was deleted.

12 changes: 0 additions & 12 deletions examples/ts-immutable-sample/jest.setup.js

This file was deleted.

48 changes: 0 additions & 48 deletions examples/ts-immutable-sample/package.json

This file was deleted.

Loading

0 comments on commit b75ee55

Please sign in to comment.