fix(cli): correctly set test isSuccess false #51
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: "cli" | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
lint: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/[email protected]" | |
- name: "Setup Node.js" | |
uses: "actions/[email protected]" | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: "Install dependencies" | |
run: "npm clean-install" | |
- run: "npm run lint:editorconfig" | |
- run: "npm run lint:markdown" | |
- run: "npm run lint:eslint" | |
- run: "npm run lint:prettier" | |
build: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/[email protected]" | |
- name: "Setup Node.js" | |
uses: "actions/[email protected]" | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: "Install dependencies" | |
run: "npm clean-install" | |
- name: "Build" | |
run: "npm run build" | |
- run: "npm run lint:typescript" | |
test: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/[email protected]" | |
- name: "Setup Docker" | |
uses: "actions-hub/docker/cli@master" | |
env: | |
SKIP_LOGIN: true | |
- name: "Setup Node.js" | |
uses: "actions/[email protected]" | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: "Install dependencies" | |
run: "npm clean-install" | |
- name: "Build" | |
run: "npm run build" | |
- name: "Test" | |
run: "npm run test" |