From ba0d37b3ae15f2873b79b3820621b52b68446c06 Mon Sep 17 00:00:00 2001 From: legendecas Date: Wed, 1 Nov 2023 22:26:29 +0800 Subject: [PATCH] chore: remove cache --- .github/workflows/benchmark.yml | 14 ------ .github/workflows/docs.yaml | 14 ------ .github/workflows/lint.yml | 15 ------ .github/workflows/unit-test.yml | 56 ---------------------- .github/workflows/w3c-integration-test.yml | 14 ------ 5 files changed, 113 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b3db45b4ca..943cb73b25 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,20 +25,6 @@ jobs: - run: npm install -g npm@latest - - name: restore node_modules - id: cache - uses: actions/cache@v3 - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: node-tests-${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package-lock.json') }}-11012023 - - name: Bootstrap run: | npm ci diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3f1b44b8b2..3dca7fb3d2 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -15,20 +15,6 @@ jobs: with: node-version: '18' - - name: restore node_modules - uses: actions/cache@v3 - id: cache - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: ${{ runner.os }}-unit_test-${{ matrix.node_version }}-${{ hashFiles('package-lock.json') }}-11012023 - - name: Install and Build 🔧 run: | npm ci diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dc360b5485..58047fd45f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,21 +34,6 @@ jobs: args: "./**/*.md" ignore: './CHANGELOG.md ./experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/protos ./experimental/packages/opentelemetry-exporter-metrics-otlp-proto/protos ./packages/exporter-trace-otlp-grpc/protos ./packages/exporter-trace-otlp-proto/protos' - - name: restore node_modules - id: cache - uses: actions/cache@v3 - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: lint-${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package-lock.json') }}-11012023 - - # On a cache miss, install dependencies - name: Bootstrap run: | npm ci diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 22edb42b05..3141d7d449 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -33,20 +33,6 @@ jobs: - run: npm install -g npm@"<10.0.0" if: ${{ matrix.node_version == '14' || matrix.node_version == '16' }} - - name: restore node_modules - id: cache - uses: actions/cache@v3 - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: node-tests-${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package-lock.json') }}-11012023 - - name: Bootstrap run: | npm ci @@ -79,20 +65,6 @@ jobs: - run: npm install -g npm@latest - - name: restore node_modules - id: cache - uses: actions/cache@v3 - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: node-windows-tests-${{ runner.os }}-${{ hashFiles('package-lock.json') }}-11012023 - - name: Bootstrap run: | npm ci @@ -118,20 +90,6 @@ jobs: with: node-version: 16 - - name: restore node_modules - id: cache - uses: actions/cache@v3 - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: browser-tests-${{ runner.os }}-${{ hashFiles('package-lock.json') }}-11012023 - - name: Bootstrap run: | npm ci @@ -155,20 +113,6 @@ jobs: with: node-version: 16 - - name: restore node_modules - id: cache - uses: actions/cache@v3 - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: webworker-tests-${{ runner.os }}-${{ hashFiles('package-lock.json') }}-11012023 - - name: Bootstrap run: | npm ci diff --git a/.github/workflows/w3c-integration-test.yml b/.github/workflows/w3c-integration-test.yml index 85b856c41b..92eda1a854 100644 --- a/.github/workflows/w3c-integration-test.yml +++ b/.github/workflows/w3c-integration-test.yml @@ -18,20 +18,6 @@ jobs: with: node-version: '16' - - name: restore node_modules - uses: actions/cache@v3 - id: cache - with: - path: | - node_modules - api/node_modules - packages/*/node_modules - experimental/*/*/node_modules - integration-tests/*/node_modules - selenium-tests/node_modules - examples/*/node_modules - key: ${{ runner.os }}-w3c_integration-${{ hashFiles('package-lock.json') }}-11012023 - - name: Install and Bootstrap 🔧 run: | npm ci