@@ -525,34 +525,34 @@ jobs:
525525 uses : actions/setup-node@v3
526526 with :
527527 node-version : ${{ matrix.node }}
528- # - name: Enable Node.js cache
529- # uses: actions/cache@v2
530- # with:
531- # path: ~/.npm
532- # key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
533- # restore-keys: |
534- # ${{ runner.os }}-node-
535- # - name: Enable compiler cache
536- # uses: actions/cache@v2
537- # with:
538- # path: ~/.ccache
539- # key: ccache-${{ matrix.name }}-${{ github.sha }}
540- # restore-keys: |
541- # ccache-${{ matrix.name }}-
542- # - name: Enable Conan cache
543- # uses: actions/cache@v2
544- # with:
545- # path: ~/.conan
546- # key: v6-conan-${{ matrix.name }}-${{ github.sha }}
547- # restore-keys: |
548- # v6-conan-${{ matrix.name }}-
549- # - name: Enable test cache
550- # uses: actions/cache@v2
551- # with:
552- # path: ${{github.workspace}}/test/cache
553- # key: v3-test-${{ matrix.name }}-${{ github.sha }}
554- # restore-keys: |
555- # v3-test-${{ matrix.name }}-
528+ - name : Enable Node.js cache
529+ uses : actions/cache@v2
530+ with :
531+ path : ~/.npm
532+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
533+ restore-keys : |
534+ ${{ runner.os }}-node-
535+ - name : Enable compiler cache
536+ uses : actions/cache@v2
537+ with :
538+ path : ~/.ccache
539+ key : ccache-${{ matrix.name }}-${{ github.sha }}
540+ restore-keys : |
541+ ccache-${{ matrix.name }}-
542+ - name : Enable Conan cache
543+ uses : actions/cache@v2
544+ with :
545+ path : ~/.conan
546+ key : v6-conan-${{ matrix.name }}-${{ github.sha }}
547+ restore-keys : |
548+ v6-conan-${{ matrix.name }}-
549+ - name : Enable test cache
550+ uses : actions/cache@v2
551+ with :
552+ path : ${{github.workspace}}/test/cache
553+ key : v3-test-${{ matrix.name }}-${{ github.sha }}
554+ restore-keys : |
555+ v3-test-${{ matrix.name }}-
556556
557557 - name : Prepare environment
558558 run : |
@@ -675,6 +675,7 @@ jobs:
675675 cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
676676 make --jobs=${JOBS}
677677 popd
678+ - run : npm link
678679 - run : osrm-routed-js --version
679680 - name : Run all tests
680681 if : ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' && matrix.ENABLE_APPLE_SILICON != 'ON' }}
0 commit comments