feat: support .mjs and .mts migrations #1861
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- run: npm install | |
- run: npm run lint | |
- run: npm test -- --coverage | |
- name: Coverage | |
uses: codecov/codecov-action@v2 | |
- name: Setup node 14 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- run: npm test | |
# pretest depends on del-cli which doesn't support node 12, so run manually | |
# todo: drop node 12 in next major | |
- run: npm run pretest | |
- name: Setup node 12 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12.x | |
- run: npm test --ignore-scripts |