From 8c99830f49d73a93f3171aca41168906f5e1e65e Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Fri, 13 Oct 2023 11:28:47 +0200 Subject: [PATCH] GH workflow: update for workspace configuration --- .github/workflows/check-typescript-projects.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/check-typescript-projects.yml b/.github/workflows/check-typescript-projects.yml index 32dd249..6c2d11c 100644 --- a/.github/workflows/check-typescript-projects.yml +++ b/.github/workflows/check-typescript-projects.yml @@ -55,9 +55,6 @@ jobs: - sveltekit-ts - vitejs-ts npm-package: ['release', 'development'] - defaults: - run: - working-directory: ${{github.workspace}}/projects/${{matrix.project}} steps: - name: Download the maxgraph npm package if: ${{ matrix.npm-package == 'development' }} @@ -75,13 +72,12 @@ jobs: uses: bahmutov/npm-install@v1 with: install-command: npm ci --prefer-offline --audit false --ignore-scripts - working-directory: ${{github.workspace}}/projects/${{matrix.project}} - name: Install maxgraph development npm package if: ${{ matrix.npm-package == 'development' }} # use wildcard as the file contains the version, and we don't know it run: npm install ${{steps.download.outputs.download-path}}/maxgraph-core*.tgz - name: Build project - run: npm run build + run: npm run build -w projects/${{matrix.project}} - name: Upload project archive if: ${{ matrix.npm-package == 'release' }} uses: actions/upload-artifact@v3