diff --git a/.github/workflows/validate-js.yml b/.github/workflows/validate-js.yml index 39223b4..d2cba24 100644 --- a/.github/workflows/validate-js.yml +++ b/.github/workflows/validate-js.yml @@ -26,7 +26,9 @@ jobs: - uses: actions/checkout@v2 - uses: actions/cache@v2 with: - path: node_modules + path: | + node_modules + example/node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-node- @@ -39,13 +41,15 @@ jobs: needs: setup runs-on: ubuntu-latest steps: - # - uses: actions/checkout@v2 - # - uses: actions/cache@v2 - # with: - # path: node_modules - # key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-node- + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: | + node_modules + example/node_modules + key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node- # - name: Install modules # run: yarn # - name: Install modules (example/) @@ -57,13 +61,15 @@ jobs: needs: setup runs-on: ubuntu-latest steps: - # - uses: actions/checkout@v2 - # - uses: actions/cache@v2 - # with: - # path: node_modules - # key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-node- + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: | + node_modules + example/node_modules + key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node- # - name: Install modules # run: yarn # - name: Install modules (example/)