Skip to content

Commit

Permalink
GitHub Actions cleanup (#32755)
Browse files Browse the repository at this point in the history
* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner
  • Loading branch information
XhmikosR committed Jan 13, 2021
1 parent 67c2f2c commit da45817
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/browserstack.yml
Expand Up @@ -4,7 +4,6 @@ on:
push:

env:
CI: true
FORCE_COLOR: 2
NODE: 14.x

Expand All @@ -29,8 +28,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ env.NODE }}-
${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-node-v${{ env.NODE }}-
- name: Install npm dependencies
run: npm ci
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/bundlewatch.yml
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:

env:
CI: true
FORCE_COLOR: 2
NODE: 14.x

Expand All @@ -30,8 +29,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ env.NODE }}-
${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-node-v${{ env.NODE }}-
- name: Install npm dependencies
run: npm ci
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/css.yml
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:

env:
CI: true
FORCE_COLOR: 2
NODE: 14.x

Expand All @@ -30,8 +29,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ env.NODE }}-
${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-node-v${{ env.NODE }}-
- name: Install npm dependencies
run: npm ci
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/dart-sass.yml
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:

env:
CI: true
FORCE_COLOR: 2
NODE: 14.x

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/docs.yml
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:

env:
CI: true
FORCE_COLOR: 2
NODE: 14.x

Expand All @@ -32,8 +31,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ env.NODE }}-
${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-node-v${{ env.NODE }}-
- name: Install npm dependencies
run: npm ci
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/js.yml
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:

env:
CI: true
FORCE_COLOR: 2

jobs:
Expand Down Expand Up @@ -35,8 +34,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}}
restore-keys: |
${{ runner.OS }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ matrix.node }}-
${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-node-v${{ matrix.node }}-
- name: Install npm dependencies
run: npm ci
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:

env:
CI: true
FORCE_COLOR: 2
NODE: 14.x

Expand All @@ -30,8 +29,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.OS }}-node-v${{ env.NODE }}-
${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-node-v${{ env.NODE }}-
- name: Install npm dependencies
run: npm ci
Expand Down

0 comments on commit da45817

Please sign in to comment.