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: 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: # strategy:
matrix: # matrix:
node-version: [18] # 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

View File

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