From 006670a35cf770180514dc2b451fa43de7b59bb7 Mon Sep 17 00:00:00 2001 From: brokiem Date: Mon, 30 Oct 2023 10:25:50 +0800 Subject: [PATCH] Use yarn to build --- .github/workflows/gh-pages-deploy.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index bc63ba8..fe52a72 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -8,12 +8,14 @@ jobs: name: Deploying to Github Pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' + - name: Setup yarn + run: yarn set version stable - name: Install packages - run: npm i + run: yarn install --immutable - name: Set Creds run: git config user.name "brokiem" && git config user.email "${{ secrets.EMAIL }}" - name: Deploy