diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ffe56b3..4846fea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,14 +16,16 @@ jobs: uses: actions/checkout@v4 - name: Setup Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' + cache: 'yarn' - - name: Install and build - run: | - npm install - npm run build + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build + run: yarn build - name: Deploy uses: JamesIves/github-pages-deploy-action@v4