Skip to content

Commit

Permalink
[ci] add assets code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Oct 8, 2020
1 parent 333f949 commit 3a073fe
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/assets_code_analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Assets Code Analysis

on:
pull_request: null
push:
branches:
- master

jobs:
asses_code_analysis:
strategy:
fail-fast: false
matrix:
actions:
-
name: Lint Javascript files
run: npm run lint

-
name: Lint on SCSS files
run: npm run stylelint

name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

# see https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
-
name: Use Node.js 12.5
uses: actions/setup-node@v1
with:
node-version: 12.5

- run: npm install

- run: ${{ matrix.actions.run }}

0 comments on commit 3a073fe

Please sign in to comment.