Skip to content

This Github action runs vue-tsc against .vue files and display the errors found in whole codebase.

License

Notifications You must be signed in to change notification settings

keita-hino/vue-tsc-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

vue-tsc-action

This Github action runs vue-tsc against .vue files and display the errors found in whole codebase.

preparation

  1. Include vue-tsc in package.json
  2. Add tsconfig.json

Usage

Add to your existing workflow file or create a new file named .github/workflows/check_vue_tsc.yml and copy over one of the examples below to your new workflow file.

This is the simplest example to get it running:

name: check-vue-tsc
on: push

jobs:
  vue-tsc:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: 18
      - uses: keita-hino/vue-tsc-action@main

If there is an error, the error details will be displayed in the workflow execution log.

スクリーンショット 2021-09-04 13 59 26

License

All scripts in this project are released under the MIT License.

About

This Github action runs vue-tsc against .vue files and display the errors found in whole codebase.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published