diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab44f84..94ed132 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,16 +17,16 @@ jobs: with: node-version: 14 - 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 - # with: - # path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-yarn- + - 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 + with: + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - run: yarn --prefer-offline --frozen-lockfile - run: yarn run check - run: yarn run build @@ -59,7 +59,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - run: yarn --prefer-offline --frozen-lockfile - - run: aegir test -t node --bail --cov + - run: npx aegir test -t node --bail --cov - uses: codecov/codecov-action@v1 test-chrome: