Skip to content

Commit

Permalink
GH workflow: update for workspace configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Oct 13, 2023
1 parent 65b23d3 commit 8c99830
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check-typescript-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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
Expand Down

0 comments on commit 8c99830

Please sign in to comment.