Skip to content

chore(deps-dev): bump ts-jest from 26.5.6 to 29.2.5 #5684

chore(deps-dev): bump ts-jest from 26.5.6 to 29.2.5

chore(deps-dev): bump ts-jest from 26.5.6 to 29.2.5 #5684

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [main, staging]
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.12]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# caching node_modules
path: node_modules
key: ${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ matrix.node-version }}-build-
- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm install
- run: npm run lint:ci
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.12]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# caching node_modules
path: node_modules
key: ${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ matrix.node-version }}-build-
- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm install
- run: npm run test:ci
env:
VITE_VALIDATOR: vl.ripple.com
VITE_RIPPLED_WS_PORT: 51233
VITE_RIPPLED_HOST: fake.rippled.example.com
VITE_MAINNET_LINK: mainnet.example.com
VITE_TESTNET_LINK: testnet.example.com
VITE_CUSTOMNETWORK_LINK: custom.example.com
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.12]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# caching node_modules
path: node_modules
key: ${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ matrix.node-version }}-build-
- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm install
- run: npm run build
typescript-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.12]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# caching node_modules
path: node_modules
key: ${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ matrix.node-version }}-build-
- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm install
- run: npm run build-ts