diff --git a/.github/workflows/ag-solo-xs.yml b/.github/workflows/ag-solo-xs.yml index 59b4e684a99..5f3126bf56e 100644 --- a/.github/workflows/ag-solo-xs.yml +++ b/.github/workflows/ag-solo-xs.yml @@ -20,7 +20,9 @@ jobs: uses: actions/cache@v1 with: path: ~/.cache/yarn - key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - name: yarn install run: yarn install - name: yarn build diff --git a/.github/workflows/test-all-packages.yml b/.github/workflows/test-all-packages.yml index e4ce6725409..8a49192c3c7 100644 --- a/.github/workflows/test-all-packages.yml +++ b/.github/workflows/test-all-packages.yml @@ -13,6 +13,24 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - name: cache node modules + uses: actions/cache@v1 + with: + path: ~/.cache/yarn + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - name: Set up Go 1.13 + uses: actions/setup-go@v1 + with: + go-version: 1.13 + - name: cache Go modules + uses: actions/cache@v1 + with: + path: ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- # 'yarn install' must be done at the top level, to build all the # cross-package symlinks - name: yarn install