Skip to content

[#121] Update the package name when initialize vite template #152

[#121] Update the package name when initialize vite template

[#121] Update the package name when initialize vite template #152

Workflow file for this run

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.10.0
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
- name: Setup node and restore cached dependencies
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "npm"
- name: NPM install
run: npm ci
- name: Run tests
run: npm run test --workspace=packages/cli-tool