This commit is contained in:
msuthar09 2022-12-06 13:00:59 -05:00
parent 13a77a7575
commit 30f04abf4e

View File

@ -13,17 +13,20 @@ jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'pnpm'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- uses: actions/checkout@v2
@ -38,8 +41,8 @@ jobs:
action: 'upload'
###### 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
app_location: '/site' # App source code path
api_location: 'api' # Api source code path - optional
app_location: '/' # App source code path
api_location: '' # Api source code path - optional
output_location: '' # Built app content directory - optional
env: # Add environment variables here
IS_STATIC_EXPORT: true