diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e76ab77..22a1ef1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,25 +16,3 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - - name: Set up Node - uses: actions/setup-node@v3 - with: - node-version-file: .nvmrc - - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - - name: Cache node_modules - - uses: actions/cache@v3 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - name: Install Dependencies - if: steps.yarn-cache.outputs.cache-hit != 'true' - run: yarn --prefer-offline --frozen-lockfile