diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f90d858a..5f3e65fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,24 +11,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v3 - with: - node-version: '16' - - name: Checkout uses: actions/checkout@v2 - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - - uses: actions/cache@v2 - id: yarn-cache + - uses: actions/setup-node@v3 with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + node-version: '16' + cache: yarn - name: Build & Deploy run: |