Skip to content

Merge pull request #114 from css-george/dependabot/npm_and_yarn/eslin… #232

Merge pull request #114 from css-george/dependabot/npm_and_yarn/eslin…

Merge pull request #114 from css-george/dependabot/npm_and_yarn/eslin… #232

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
jobs:
eslint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2
- name: npm install
run: npm ci
- name: eslint
run: npm run lint
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2
- name: npm install and test
run: npm cit
env:
CI: true