| 123456789101112131415161718192021222324252627282930313233 |
- name: Node CI
- on:
- push:
- branches: ["master", "2.0"]
- pull_request:
- branches: ["master", "2.0"]
- jobs:
- build:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- node_version: [ 14.x ]
- # os: [ubuntu-latest, windows-latest, macOS-latest]
- os: [ ubuntu-latest,macOS-latest ]
- steps:
- - uses: actions/checkout@v1
- - name: Use Node.js ${{ matrix.node_version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node_version }}
- - run: echo ${{github.ref}}
- - run: yarn install
- - run: yarn run lint
- - run: yarn run tsc
- - run: yarn run build
- - run: yarn run test:all
- env:
- CI: true
- PROGRESS: none
- NODE_ENV: test
- NODE_OPTIONS: --max_old_space_size=4096
|