Skip to content

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 #244

build(deps): bump cross-spawn from 7.0.3 to 7.0.6

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 #244

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Dependencies with Yarn
run: yarn install
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: node/ci-dependency/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
test:
needs: setup
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18, 20]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: yarn install
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: node/ci-dependency/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
- name: Run Tests
run: yarn test