File tree 3 files changed +7
-17
lines changed
github-actions/npm/checkout-and-setup-node
3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
19
- - name : Get current date
20
- id : date
21
- run : echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
22
- # Note: we use `date` as part of the key hash so that we create a new cache every day.
23
- # We do not use `restore-keys` so that the cache does not keep growing.
24
- - uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
25
- with :
26
- path : |
27
- .github/ng-renovate/node-modules
28
- /tmp/renovate
29
- key : v2-renovate-${{hashFiles('.github/ng-renovate/yarn.lock')}}-${{ steps.date.outputs.date }}
30
19
- run : yarn --cwd .github/ng-renovate install --immutable
31
20
shell : bash
32
21
Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Pull Request
2
2
3
3
on :
4
4
pull_request :
Original file line number Diff line number Diff line change 44
44
node-version : ${{ inputs.node-version }}
45
45
cache : ' yarn'
46
46
47
- - uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
48
- if : ${{ inputs.cache-node-modules == 'true' }}
49
- with :
50
- path : ${{ inputs.node-module-directories }}
51
- key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock', '**/*.patch') }}
47
+ # TODO(josephperrott): Determine if its safe to use this caching step.
48
+ # - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
49
+ # if: ${{ inputs.cache-node-modules == 'true' }}
50
+ # with:
51
+ # path: ${{ inputs.node-module-directories }}
52
+ # key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock', '**/*.patch') }}
You can’t perform that action at this time.
0 commit comments