Skip to content

Commit

Permalink
Hotfix/gallery build (#337)
Browse files Browse the repository at this point in the history
* fixed gallery build workflow

* updated node version
  • Loading branch information
FrankLeeeee authored Apr 27, 2024
1 parent 483462d commit 0590c53
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/github_page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.6
node-version: 20

- name: Get yarn cache
id: yarn-cache
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn
- run: yarn install
- run: yarn build
- run: npm install
- run: npm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 0590c53

Please sign in to comment.