Pull-Request-Community / pull-request-community-website

Pull request community
https://pullrequest.co.il/
MIT License
56 stars 100 forks source link

Ci: add ESLint #234

Closed OmriBarZik closed 2 years ago

OmriBarZik commented 2 years ago

WHATS NEW

Added ESLint to the CI

Explanation

  eslint: 
    name: ESLint # Name of the CI job
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3 # checks out only the HEAD commit

      - uses: actions/setup-node@v3 # Created node.js environment
        with:
          node-version: 16 # set node.js version
          cache: 'npm' 
         # ^ save npm global cache https://github.com/actions/setup-node#caching-global-packages-data

      - name: Install dependencies
        run: npm ci

      - name: Run ESLint
        run: npm run lint # Runing ESLint
netlify[bot] commented 2 years ago

Deploy Preview for agitated-hoover-61371e ready!

Name Link
Latest commit bcd63f6c329c6aba86b641aa33950ff4a833da1f
Latest deploy log https://app.netlify.com/sites/agitated-hoover-61371e/deploys/62ba1265c77007000875377a
Deploy Preview https://deploy-preview-234--agitated-hoover-61371e.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

github-actions[bot] commented 2 years ago

Preview on netlify: https://deploy-preview-234--pull-request.netlify.app/