Skip to content

Update Yarn to v4.5.0 #2826

Update Yarn to v4.5.0

Update Yarn to v4.5.0 #2826

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout Repository
uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@97ca147735c170fb35096b39ef17a0fc5d9270ac
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Cache Dependencies
uses: actions/cache@81382a721fc89d96eca335d0c3ba33144b2baa9d
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn install
- name: Run Linting
run: yarn lint
- name: Run Unit Tests
run: yarn test