Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/test-cli-tool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test CLI Tool

on: push

jobs:
test-cli-tool:
name: Run CLI Tool tests with Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v2

- name: Setup node and restore cached dependencies
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: "npm"

- name: NPM install
run: npm ci && lerna bootstrap --ci

- name: Run tests
run: npm run test --workspace=packages/cli-tool
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test
name: Test CRA Template

on: push

jobs:
test:
name: Bootstrap app, run linters and tests with Node ${{ matrix.node }}
name: Bootstrap CRA app, run linters and tests with Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@

npm-debug.log*

# tests
/test-app

# editors
.vscode
Loading