diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5116f93e..31e519300 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,17 +53,12 @@ jobs: with: # Install gems/npm packages from GitHub fails without this persist-credentials: false - - name: Do some action caching - uses: actions/cache@v3 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}- - name: Install libpq-dev run: sudo apt-get -yqq install libpq-dev - name: Set up Node uses: actions/setup-node@v3 + with: + cache: 'npm' - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 69a2738a2..0497b926e 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -51,15 +51,12 @@ jobs: mongodb-version: 4.0 - name: Check out repository code uses: actions/checkout@v4 - - name: Do some action caching - uses: actions/cache@v3 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}- - name: Install libpq-dev run: sudo apt-get -yqq install libpq-dev + - name: Set up Node + uses: actions/setup-node@v3 + with: + cache: 'npm' - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: