From 906b52a4fce5c498be21ce8e7dda33b7bddbffd9 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Fri, 30 Sep 2022 11:57:40 -0400 Subject: [PATCH] Update website-publish.yml --- .github/workflows/website-publish.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/website-publish.yml b/.github/workflows/website-publish.yml index a58f6c1a..b1d7e8ea 100644 --- a/.github/workflows/website-publish.yml +++ b/.github/workflows/website-publish.yml @@ -11,14 +11,17 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' + cache: 'yarn' - name: Install - uses: borales/actions-yarn@v3.0.0 - with: - cmd: --cwd website install # will run `yarn install` command + working-directory: ./website + run: yarn install --immutable - name: Build - uses: borales/actions-yarn@v3.0.0 - with: - cmd: --cwd website build # will run `yarn build` command + working-directory: ./website + run: yarn build - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: