Skip to content

Update Yarn to v4.5.3 (#2529) #6471

Update Yarn to v4.5.3 (#2529)

Update Yarn to v4.5.3 (#2529) #6471

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x, 20.x]
include:
- os: macos-latest
node-version: 18.x
- os: macos-14
node-version: 18.x
# TODO : add Windows build
# - os: windows-latest
# node-version: 18.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install Java
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'zulu'
java-version: '11'
- name: yarn install
run: yarn install
- name: yarn build
run: yarn build
- name: Linting
run: yarn lint:ci
- name: Testing
run: yarn test:ci
env:
CI: true