mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
test4
This commit is contained in:
parent
13a77a7575
commit
30f04abf4e
@ -13,17 +13,20 @@ jobs:
|
|||||||
build_and_deploy_job:
|
build_and_deploy_job:
|
||||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [18]
|
||||||
name: Build and Deploy Job
|
name: Build and Deploy Job
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
version: 7
|
version: 7
|
||||||
# - name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
# uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
# with:
|
with:
|
||||||
# node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
# cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -38,8 +41,8 @@ jobs:
|
|||||||
action: 'upload'
|
action: 'upload'
|
||||||
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
||||||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
||||||
app_location: '/site' # App source code path
|
app_location: '/' # App source code path
|
||||||
api_location: 'api' # Api source code path - optional
|
api_location: '' # Api source code path - optional
|
||||||
output_location: '' # Built app content directory - optional
|
output_location: '' # Built app content directory - optional
|
||||||
env: # Add environment variables here
|
env: # Add environment variables here
|
||||||
IS_STATIC_EXPORT: true
|
IS_STATIC_EXPORT: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user