You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by ti...@apache.org on 2022/09/09 15:16:41 UTC
[incubator-streampark-website] branch dev updated: build: revert to yarn
This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new eb4430b build: revert to yarn
eb4430b is described below
commit eb4430b2632498f9ad713baf8978aefc64e294cf
Author: tison <wa...@gmail.com>
AuthorDate: Fri Sep 9 23:16:37 2022 +0800
build: revert to yarn
Well. We actually use yarn at root path.
---
.github/workflows/deploy.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 36205d5..00af81e 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -31,8 +31,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16.x
- - run: npm install
- - run: npm run build
+ cache: yarn
+ - run: yarn install --frozen-lockfile
+ - run: yarn build
- uses: peaceiris/actions-gh-pages@v3
if: github.event_name != 'pull_request'
with: