Skip to content

Document --import tsx as alternative to tsm #124

Document --import tsx as alternative to tsm

Document --import tsx as alternative to tsm #124

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Node.js v${{ matrix.nodejs }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
nodejs: [8, 10, 12, 14]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}
- name: Install
run: npm install
- name: Install (coverage)
if: matrix.nodejs >= 14 && matrix.os == 'ubuntu-latest'
run: npm install -g c8
- name: Test
run: npm test
- name: Test (coverage)
if: matrix.nodejs >= 14 && matrix.os == 'ubuntu-latest'
run: c8 npm test
- name: Report (coverage)
if: matrix.nodejs >= 14 && matrix.os == 'ubuntu-latest'
run: |
c8 report --reporter=text-lcov > coverage.lcov
bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}