Giter Club home page Giter Club logo

tslint-actions's Introduction

tslint-actions

Build Status Semantic Release enabled Renovate enabled MIT license

GitHub action that lints your code with TSLint (with Annotation support)

Example

Sample Outputs

Please see PR #2, or Check Run Result

Sample Github Actions Configuration

name: workflow
on: [push]
jobs:
  job:
    runs-on: ubuntu-latest
    timeout-minutes: 3
    steps:
      - uses: actions/checkout@v1
      - name: Prepare
        run: npm ci
      - name: Lint
        uses: mooyoul/[email protected]
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          pattern: '*.ts'

License

MIT

See full license on mooyoul.mit-license.org

tslint-actions's People

Contributors

mooyoul avatar renovate-bot avatar renovate[bot] avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tslint-actions's Issues

npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or later to generate it, then try again.

I received an error with the default config from the website

npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or later to generate it, then try again.

name: Codereview

on: [push]

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: 'Bundler Audit'
        uses: andrewmcodes/bundler-audit-action@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


  tslint:
    runs-on: ubuntu-latest
    timeout-minutes: 3
    steps:
      - uses: actions/checkout@v1
      - name: Prepare
        run: npm ci
      - name: Lint
        uses: mooyoul/[email protected]
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          pattern: '*.ts'

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Cannot push to the Git repository.

semantic-release cannot push the version tag to the branch master on the remote Git repository with URL https://[secure]@github.com/mooyoul/tslint-actions.git.

This can be caused by:


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Action returns success even if there are active warnings/errors

Hi all,
I'm trying to use this action on a repo with multiple projects that each has its own tsconfig and tslint files. when creating a PR and running the actions, it returns success even if there are violations in the code. of course that if I'm running the linter locally it works ok.
my project structure is as follows:

gallery
	tsconfig.json
	tslint.json (extends config from node modules)
lib
	tsconfig.json
	tslint.json (extends config from node modules)

tsconfig.json (common config)

The action in the workflow defined as follows for the gallery project and same for the lib:

- name: Linting gallery
   uses: mooyoul/[email protected]
   with:
     project: ./gallery/tsconfig.app.json
     config: ./gallery/tslint.json
     token: ${{ secrets.GITHUB_TOKEN }}

Any help will be appreciated :)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Using npm packages for Renovate presets is now deprecated. Please migrate to repository-based presets instead.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency husky to v9
  • fix(deps): update dependency @actions/github to v6
  • fix(deps): update dependency @octokit/rest to v20
  • fix(deps): update dependency glob to v10
  • fix(deps): update dependency tslint to v6
  • fix(deps): update dependency typescript to v5
  • πŸ” Create all rate-limited PRs at once πŸ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/main.yml
  • actions/checkout v1
npm
package.json
  • @actions/core ^1.2.6
  • @actions/github ^1.1.0
  • @octokit/rest ^16.36.0
  • common-tags ^1.8.0
  • glob ^7.1.4
  • tslint ^5.20.0
  • typescript ^3.6.3
  • @semantic-release/changelog 3.0.6
  • @semantic-release/commit-analyzer 6.3.3
  • @semantic-release/exec 3.3.8
  • @semantic-release/git 7.0.18
  • @semantic-release/release-notes-generator 7.3.5
  • @types/common-tags 1.8.4
  • @types/glob 7.2.0
  • @types/node 10.17.60
  • @vingle/commitlint-preset 1.0.3
  • @vingle/tslint-preset 1.0.1
  • chai 4.4.1
  • husky 3.1.0
  • semantic-release 15.14.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.