diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 457e6ae721..ffb4d0211c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -9,10 +9,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Get Yarn cache path - id: yarn-cache - run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Checkout branch uses: actions/checkout@v2 @@ -21,18 +17,8 @@ jobs: with: node-version: 16.x - - name: Load Yarn cache - uses: actions/cache@v2 - with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - name: Install dependencies - run: yarn install --frozen-lockfile --ignore-engines - env: - CI: true + run: yarn - name: Build packages run: yarn build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ef1adc589..e0fffe80b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,6 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - name: Get Yarn cache path - id: yarn-cache - run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Checkout branch uses: actions/checkout@v2 with: @@ -27,18 +23,8 @@ jobs: with: node-version: 16.x - - name: Load Yarn cache - uses: actions/cache@v2 - with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - name: Install Dependencies - run: yarn install --frozen-lockfile --ignore-engines - env: - CI: true + run: yarn - name: Setup CI Git User run: |