This commit is contained in:
msuthar09 2022-12-06 13:11:33 -05:00
parent 30f04abf4e
commit 8d767baeab
2 changed files with 11 additions and 11 deletions

View File

@ -13,20 +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]
# 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'
# with:
# version: 7
# - 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

View File

@ -3,7 +3,7 @@
"license": "MIT",
"private": true,
"scripts": {
"build": "npm install pnpm && turbo run build --filter=next-commerce...",
"build": "turbo run build --filter=next-commerce...",
"dev": "turbo run dev",
"start": "turbo run start",
"types": "turbo run types",