[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v2.0.0-alpha.29

v2.0.0-alpha.29 #135

Workflow file for this run

name: Test Matrix
on:
push:
branches:
- '*'
workflow_dispatch:
jobs:
lint-and-test:
name: Test Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
node-version: [18, 20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Yarn build
run: yarn build
- name: Run Lint
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node-version == 18 }}
run: NODE_OPTIONS=--max-old-space-size=4096 yarn lint
- name: Run tests
run: yarn test