Skip to content

chore(deps): update react monorepo to v18.2.29 #269

chore(deps): update react monorepo to v18.2.29

chore(deps): update react monorepo to v18.2.29 #269

Workflow file for this run

name: node test
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- "node/ci-dependency/**"
jobs:
setup:
runs-on: ubuntu-latest
defaults:
run:
working-directory: node/ci-dependency
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Dependencies
run: npm install
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: node/ci-dependency/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('node/ci-dependency/package-lock.json') }}
test:
needs: setup
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: node/ci-dependency
strategy:
matrix:
os: [ubuntu-latest, macOS-latest] #, windows-latest]
node: [14, 16, 18]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm install
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: node/ci-dependency/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('node/ci-dependency/package-lock.json') }}
- name: Run Tests
run: npm test