ci.yml 760 B

1234567891011121314151617181920212223242526272829
  1. name: Node CI
  2. on: [ push, pull_request ]
  3. jobs:
  4. build:
  5. runs-on: ${{ matrix.os }}
  6. strategy:
  7. matrix:
  8. node_version: [ 14.x ]
  9. # os: [ubuntu-latest, windows-latest, macOS-latest]
  10. os: [ ubuntu-latest,macOS-latest ]
  11. steps:
  12. - uses: actions/checkout@v1
  13. - name: Use Node.js ${{ matrix.node_version }}
  14. uses: actions/setup-node@v1
  15. with:
  16. node-version: ${{ matrix.node_version }}
  17. - run: echo ${{github.ref}}
  18. - run: yarn install
  19. - run: yarn run lint
  20. - run: yarn run tsc
  21. - run: yarn run build
  22. - run: yarn run test:all
  23. env:
  24. CI: true
  25. PROGRESS: none
  26. NODE_ENV: test
  27. NODE_OPTIONS: --max_old_space_size=4096