mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
test35
This commit is contained in:
parent
da36250be4
commit
8668293f4c
@ -28,22 +28,22 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup dotnet
|
# - name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v3
|
# uses: actions/setup-dotnet@v3
|
||||||
with:
|
# with:
|
||||||
dotnet-version: |
|
# dotnet-version: |
|
||||||
3.1.x
|
# 3.1.x
|
||||||
5.0.x
|
# 5.0.x
|
||||||
- name: Install Node.js
|
# - name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
# uses: actions/setup-node@v3
|
||||||
with:
|
# with:
|
||||||
node-version: 16
|
# node-version: 16
|
||||||
- uses: nanasess/setup-php@v3
|
# - uses: nanasess/setup-php@v3
|
||||||
with:
|
# with:
|
||||||
php-version: '7.4'
|
# php-version: '7.4'
|
||||||
- run: npm install --unsafe-perm
|
# - run: npm install --unsafe-perm
|
||||||
- uses: pnpm/action-setup@v2
|
# - uses: pnpm/action-setup@v2
|
||||||
- run: pnpm update --latest --prod --recursive
|
# - run: pnpm update --latest --prod --recursive
|
||||||
- name: Build And Deploy
|
- name: Build And Deploy
|
||||||
id: builddeploy
|
id: builddeploy
|
||||||
uses: Azure/static-web-apps-deploy@v1
|
uses: Azure/static-web-apps-deploy@v1
|
||||||
@ -56,9 +56,6 @@ jobs:
|
|||||||
app_location: '/' # App source code path
|
app_location: '/' # App source code path
|
||||||
api_location: '' # Api source code path - optional
|
api_location: '' # Api source code path - optional
|
||||||
output_location: '/site/out' # Built app content directory - optional
|
output_location: '/site/out' # Built app content directory - optional
|
||||||
# app_build_command: 'pnpm build'
|
|
||||||
# api_build_command: 'pnpm build'
|
|
||||||
# skip_app_build: true
|
|
||||||
env: # Add environment variables here
|
env: # Add environment variables here
|
||||||
IS_STATIC_EXPORT: true
|
IS_STATIC_EXPORT: true
|
||||||
###### End of Repository/Build Configurations ######
|
###### End of Repository/Build Configurations ######
|
||||||
|
Loading…
x
Reference in New Issue
Block a user