Skip to content

Commit 950fa6d

Browse files
committed
Use vc-build for packing custom applications
1 parent edcdf1c commit 950fa6d

File tree

180 files changed

+18
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+18
-30
lines changed

.github/actions/build-import-app-new/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ runs:
1515
steps:
1616
- name: Install dependencies for Import App
1717
shell: bash
18-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app-new
18+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app-new
1919
run: yarn
2020

2121
- name: Build Import Module
2222
shell: bash
23-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app-new
23+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app-new
2424
run: yarn bootstrap
2525

2626
- name: Add auth token
2727
shell: bash
28-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app-new
28+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app-new
2929
run: |
3030
yarn config set --json npmRegistries '{ "//registry.npmjs.org": { "npmAuthToken": "'"${NPM_TOKEN}"'" } }'
3131
env:
3232
NPM_TOKEN: ${{ inputs.npmToken }}
3333

3434
- name: Check for NPM tag
3535
shell: bash
36-
working-directory: "src/VirtoCommerce.ImportModule.Web/apps/import-app-new"
36+
working-directory: "src/VirtoCommerce.ImportModule.Web/App/import-app-new"
3737
run: |
3838
# Set default tag
3939
NPM_TAG="latest"
@@ -53,7 +53,7 @@ runs:
5353
5454
- name: Publish Import module
5555
shell: bash
56-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app-new
56+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app-new
5757
run: |
5858
if [ "$NPM_TAG" = "latest" ]; then
5959
yarn run publish || true
@@ -63,5 +63,5 @@ runs:
6363
6464
- name: Build Import App
6565
shell: bash
66-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app-new
66+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app-new
6767
run: yarn build

.github/actions/build-import-app/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ runs:
1616

1717
- name: Install dependencies for Import App
1818
shell: bash
19-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app
19+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app
2020
run: yarn
2121

2222
- name: Build Import Module
2323
shell: bash
24-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app
24+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app
2525
run: yarn bootstrap
2626

2727
- name: Add auth token
2828
shell: bash
29-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app
29+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app
3030
run: |
3131
yarn config set --json npmRegistries '{ "//registry.npmjs.org": { "npmAuthToken": "'"${NPM_TOKEN}"'" } }'
3232
env:
3333
NPM_TOKEN: ${{ inputs.npmToken }}
3434

3535
- name: Check for NPM tag
3636
shell: bash
37-
working-directory: "src/VirtoCommerce.ImportModule.Web/apps/import-app"
37+
working-directory: "src/VirtoCommerce.ImportModule.Web/App/import-app"
3838
run: |
3939
# Set default tag
4040
NPM_TAG="latest"
@@ -54,7 +54,7 @@ runs:
5454
5555
- name: Publish Import module
5656
shell: bash
57-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app
57+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app
5858
run: |
5959
if [ "$NPM_TAG" = "latest" ]; then
6060
yarn run publish || true
@@ -64,5 +64,5 @@ runs:
6464
6565
- name: Build Import App
6666
shell: bash
67-
working-directory: src/VirtoCommerce.ImportModule.Web/apps/import-app
67+
working-directory: src/VirtoCommerce.ImportModule.Web/App/import-app
6868
run: yarn build

.github/workflows/module-ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,22 +118,6 @@ jobs:
118118
mkdir -p src/VirtoCommerce.ImportModule.Web/dist/import-app
119119
mkdir -p src/VirtoCommerce.ImportModule.Web/dist/import-app-new
120120
121-
- name: Copy Import App built output
122-
shell: bash
123-
run: cp -r src/VirtoCommerce.ImportModule.Web/apps/import-app/dist/* src/VirtoCommerce.ImportModule.Web/dist/import-app/
124-
125-
- name: Copy Import App New built output
126-
shell: bash
127-
run: cp -r src/VirtoCommerce.ImportModule.Web/apps/import-app-new/dist/* src/VirtoCommerce.ImportModule.Web/dist/import-app-new/
128-
129-
- name: List out results for sanity check
130-
shell: bash
131-
run: |
132-
echo "import-app:"
133-
ls -al src/VirtoCommerce.ImportModule.Web/dist/import-app/ || echo "missing"
134-
echo "import-app-new:"
135-
ls -al src/VirtoCommerce.ImportModule.Web/dist/import-app-new/ || echo "missing"
136-
137121
- name: Unit Tests
138122
run: vc-build Test -skip
139123

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.browserslistrc renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.browserslistrc

File renamed without changes.

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.commitlintrc.json renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.commitlintrc.json

File renamed without changes.

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.editorconfig renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.editorconfig

File renamed without changes.

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.env renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.env

File renamed without changes.

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.env.local renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.env.local

File renamed without changes.

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.eslintignore renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.eslintignore

File renamed without changes.

src/VirtoCommerce.ImportModule.Web/apps/import-app-new/.eslintrc.js renamed to src/VirtoCommerce.ImportModule.Web/App/import-app-new/.eslintrc.js

File renamed without changes.

0 commit comments

Comments
 (0)