Skip to content

chore(deps): update actions/labeler action to v5 #141

chore(deps): update actions/labeler action to v5

chore(deps): update actions/labeler action to v5 #141

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