diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/browserstack.yml | 9 | ||||
| -rw-r--r-- | .github/workflows/bundlewatch.yml | 11 | ||||
| -rw-r--r-- | .github/workflows/codeql.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/css.yml | 9 | ||||
| -rw-r--r-- | .github/workflows/docs.yml | 9 | ||||
| -rw-r--r-- | .github/workflows/js.yml | 13 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 9 |
7 files changed, 9 insertions, 52 deletions
diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index bdbc16089..ffa594a77 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -21,14 +21,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "${{ env.NODE }}" - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index bebf01351..c212290df 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -2,8 +2,6 @@ name: Bundlewatch on: push: - branches-ignore: - - "dependabot/**" pull_request: env: @@ -22,14 +20,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "${{ env.NODE }}" - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 469a5a4fc..13e2eb598 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,6 +11,7 @@ on: branches: - main - v4-dev + - "!dependabot/**" schedule: - cron: "0 2 * * 5" diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 1f394c65e..48f11d459 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -22,14 +22,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "${{ env.NODE }}" - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index badaad744..cc5f4bd6d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,17 +22,10 @@ jobs: uses: actions/setup-node@v2 with: node-version: "${{ env.NODE }}" + cache: npm - run: java -version - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 0a4fe259a..266b1576d 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - node: [10, 12, 14] + node: [12, 14, 16] steps: - name: Clone repository @@ -27,14 +27,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci @@ -46,7 +39,7 @@ jobs: run: npm run js-test - name: Run Coveralls - uses: coverallsapp/[email protected] + uses: coverallsapp/[email protected] if: matrix.node == 14 with: github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f4c288ec7..153ad6f22 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,14 +22,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "${{ env.NODE }}" - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci |
