diff --git a/.github/workflows/dev-azure-staticwebapp.yml b/.github/workflows/dev-azure-staticwebapp.yml index 491ae46..a3a409e 100644 --- a/.github/workflows/dev-azure-staticwebapp.yml +++ b/.github/workflows/dev-azure-staticwebapp.yml @@ -57,35 +57,41 @@ jobs: with: node-version: ${{ matrix.node-version }} - - uses: pnpm/action-setup@v2 - name: Install pnpm - id: pnpm-install - with: - version: 7 - run_install: false + - name: Install dependencies + run: npm install - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + - name: Use npm to build + run: npm run build - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- +# - uses: pnpm/action-setup@v2 +# name: Install pnpm +# id: pnpm-install +# with: +# version: 7 +# run_install: false - - name: Install dependencies - run: pnpm install +# - name: Get pnpm store directory +# id: pnpm-cache +# shell: bash +# run: | +# echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + +# - uses: actions/cache@v3 +# name: Setup pnpm cache +# with: +# path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} +# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} +# restore-keys: | +# ${{ runner.os }}-pnpm-store- + +# - name: Install dependencies +# run: pnpm install - - name: Use pnpm to build - run: pnpm run build +# - name: Use pnpm to build +# run: pnpm run build - # - name: post-build test - # run: pnpm test +# - name: post-build test +# run: pnpm test - name: Deploy build artifacts to Azure id: builddeploy