Skip to content

chore: update ioredis #29

chore: update ioredis

chore: update ioredis #29

Workflow file for this run

name: Run Test
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.19.0]
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-nodetscache-${{ hashFiles('**/package-lock.lock') }}
restore-keys: |
${{ runner.os }}-build-nodetscache-
- name: Update npm
run: npm -g install npm@latest
- name: Install Packages
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
env:
CI: true