Skip to content

chore: update workflow #265

chore: update workflow

chore: update workflow #265

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['13.x', '14.x']
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Build
run: npm run build
env:
NODE_OPTIONS: --max_old_space_size=4096