Skip to content

Commit ad07939

Browse files
committed
CI: fix install
1 parent e1eb94e commit ad07939

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/website.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
2020
echo "REPO_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')" >> $GITHUB_ENV
2121
echo "CURRENT_VERSION=$(node -p 'require("./package.json").version')" >> $GITHUB_ENV
2222
- name: Install
23-
run: yarn install && cd example/ && npm install
23+
run: yarn install
2424
- name: Build
25-
run: npm run website -- --metadataversion="${CURRENT_VERSION}"
25+
run: |
26+
npm install
27+
npm run website -- --metadataversion="${CURRENT_VERSION}"
2628
env:
2729
OWNER_NAME: ${{ env.OWNER_NAME }}
2830
REPO_NAME: ${{ env.REPO_NAME }}

0 commit comments

Comments
 (0)