Skip to content

Update swc monorepo #5766

Update swc monorepo

Update swc monorepo #5766

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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
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