Skip to content

Commit

Permalink
Install dependencies before linking
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Aug 21, 2024
1 parent 2e213c9 commit 3a6dcb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- name: Install and Build PR Branch 🔧
# TODO: when we move shieldlib to its own repo, move shieldlib docs CI also
run: |
npm install --include=dev
git clone https://github.com/1ec5/maplibre-gl-js.git --branch=complex-text-50 --depth=1
cd maplibre-gl-js/
npm install --include=dev
npm run build-dev
cd ../
npm install --include=dev
npm link ./maplibre-gl-js/
cd shieldlib/
npm link ../maplibre-gl-js
Expand All @@ -57,7 +57,6 @@ jobs:
npm run shields
cp src/configs/config.aws.js src/config.js
mkdir -p dist/shield-docs
cp -r shieldlib/docs/* dist/shield-docs
mv dist ..
working-directory: pr-branch
- name: Capture main branch usage statistics
Expand Down

0 comments on commit 3a6dcb9

Please sign in to comment.