Skip to content

Commit

Permalink
fix CI runner Windows cache false positive (#1095)
Browse files Browse the repository at this point in the history
* fix CI runner Windows cache false positive

* Update build-eslint-jest.yaml

* disable windows defender realtime monitoring

* now try setting package registry

* remove windows tasks

* re-add conditional for not a merge

* place 3

* back to the top

* Update build-eslint-jest.yaml
  • Loading branch information
thedavidprice authored Sep 5, 2020
1 parent a84379a commit 445484b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-eslint-jest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:

jobs:
all:
if: github.event.pull_request.merged == false
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node-version: ['14', '12']
fail-fast: true
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} | Node ${{ matrix.node-version }} latest
steps:
if: github.event.pull_request.merged == false
steps:
- uses: actions/checkout@v2

- name: Setup node
Expand All @@ -26,9 +26,10 @@ jobs:

- name: Cache "node_modules"
uses: actions/cache@v2
if: matrix.os == 'ubuntu-latest'
with:
path: '**/node_modules'
key: node_modules_${{ runner.os }}_${{ hashFiles('**/yarn.lock') }}
key: node_modules_${{ runner.os }}_${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down

0 comments on commit 445484b

Please sign in to comment.