chore(deps): update dependency @snyk/protect to v1.1205.0 (#192) #262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Validation" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
markdownlint: | |
runs-on: ubuntu-latest | |
name: 'MarkdownLint' | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Validate Markdown Sources | |
uses: nosborn/[email protected] | |
with: | |
files: . | |
eslint: | |
runs-on: ubuntu-latest | |
name: 'ESLint' | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm clean-install | |
- name: Validate JS Sources | |
run: npm run validate:js | |
stylelint: | |
runs-on: ubuntu-latest | |
name: 'Stylelint' | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm clean-install | |
- name: Validate CSS Sources | |
run: npm run validate:css | |
unit: | |
runs-on: ubuntu-latest | |
name: 'Unit Tests' | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm clean-install | |
- name: Execute Unit Tests | |
run: npm run test |