diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index d0afed5280..de216cbae2 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -61,6 +61,8 @@ jobs: **/node_modules .eslintcache key: js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + js-${{ runner.os }}- - name: Install node_modules run: ./scripts/yarn_install.sh @@ -108,6 +110,8 @@ jobs: **/node_modules .eslintcache key: js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + js-${{ runner.os }}- - name: Install node_modules run: ./scripts/yarn_install.sh @@ -250,6 +254,8 @@ jobs: **/node_modules .eslintcache key: js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + js-${{ runner.os }}- # Go is required for uploading the test results to datadog - uses: actions/setup-go@v2 @@ -312,6 +318,8 @@ jobs: **/node_modules .eslintcache key: js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + js-${{ runner.os }}- # Go is required for uploading the test results to datadog - uses: actions/setup-go@v2 diff --git a/site/.yarnrc b/site/.yarnrc new file mode 100644 index 0000000000..d7d9c737a6 --- /dev/null +++ b/site/.yarnrc @@ -0,0 +1 @@ +network-timeout 300000