Skip to content

Commit b73167b

Browse files
committed
install deps...
1 parent 51ee8a3 commit b73167b

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/release-comment-issues.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,33 @@ on:
1616
jobs:
1717
release-comment-issues:
1818
runs-on: ubuntu-20.04
19-
name: 'Notify issues that are included in a release'
19+
name: 'Notify issues'
2020

2121
steps:
22+
- name: Check out code
23+
uses: actions/checkout@v4
24+
25+
- name: Compute dependency cache key
26+
id: compute_lockfile_hash
27+
run: node ./scripts/dependency-hash-key.js >> "$GITHUB_OUTPUT"
28+
shell: bash
29+
30+
- name: Check dependency cache
31+
uses: actions/cache/restore@v4
32+
id: cache_dependencies
33+
with:
34+
path: |
35+
${{ github.workspace }}/node_modules
36+
${{ github.workspace }}/packages/*/node_modules
37+
${{ github.workspace }}/dev-packages/*/node_modules
38+
~/.cache/mongodb-binaries/
39+
key: ${{ steps.compute_lockfile_hash.outputs.hash }}
40+
41+
- name: Install dependencies
42+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
43+
run: yarn install --ignore-engines --frozen-lockfile
44+
shell: bash
45+
2246
- name: Get version
2347
id: get_version
2448
run: echo "version=${{ github.event.inputs.version || github.event.release.tag_name || '8.32.0' }}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)