added transform feature for confirm prompts #327
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: Node | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- 18 | |
- 16 | |
- 14 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: yarn install | |
run: | | |
node --version | |
yarn install --immutable --immutable-cache --check-cache | |
env: | |
CI: true | |
FORCE_COLOR: 1 | |
# TS must run before we check dependencies since otherwise our exports map points to nothing. | |
- name: Typescript | |
run: yarn lerna run tsc | |
- name: Eslint | |
run: yarn eslint . --ext .js --ext .ts | |
- name: Test inquirer package (current version) | |
run: yarn lerna exec npm test --scope inquirer | |
- name: Test monorepo packages (new version) | |
run: yarn jest | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v2 | |
with: | |
file: ./coverage/clover.xml |