Skip to content

chore(deps): bump predis/predis from 3.3.0 to 3.4.0 (#10783) #467

chore(deps): bump predis/predis from 3.3.0 to 3.4.0 (#10783)

chore(deps): bump predis/predis from 3.3.0 to 3.4.0 (#10783) #467

Workflow file for this run

name: JS Unit Test
on:
push:
branches:
- master
- rel-*
pull_request:
branches:
- master
- rel-*
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && github.event.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
js_unit_test:
runs-on: ubuntu-24.04
name: JS Unit Test
strategy:
matrix:
# Single-element matrix provides named variable and job title
node-version: ['22']
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install npm package
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Get NPM Cache Directory
id: npm-cache-dir
run: |
{
printf 'dir='
npm config get cache
} >> "$GITHUB_OUTPUT"
- name: Cache node modules
uses: actions/cache@v5
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-
${{ runner.os }}-node-
- name: NPM CI
run: npm ci
- name: Run Unit Tests
run: npm run test:js