-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,30 +14,6 @@ jobs: | |
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/checkout@v2 | ||
- name: Setting up Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
- name: Get yarn cache path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Fetch Yarn cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
run: yarn install | ||
env: | ||
CI: true | ||
- name: Setup | ||
run: | | ||
sudo apt install -y jsonlint | ||
find . -type f -print0 | xargs -0 sed -i 's:#!/usr/bin/with-contenv bash:#!/bin/bash:g' | ||
- name: ESLint | ||
run: yarn eslint | ||
- name: Hadolint | ||
uses: brpaz/[email protected] | ||
with: | ||
|
@@ -66,11 +42,6 @@ jobs: | |
check-modified-files-only: no | ||
base-branch: master | ||
file-extension: .md | ||
- name: Prettier Check | ||
run: | | ||
yarn prettier-check-ts | ||
yarn prettier-check-js | ||
yarn prettier-check-yml | ||
- name: ShellCheck | ||
uses: ludeeus/[email protected] | ||
with: | ||
|
@@ -83,9 +54,38 @@ jobs: | |
uses: ibiqlik/[email protected] | ||
with: | ||
file_or_dir: . | ||
config_file: .yamllint | ||
config_file: .yamllint.yml | ||
format: colored | ||
strict: false | ||
- name: Setting up Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
- name: Get yarn cache path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Fetch Yarn cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
run: yarn install | ||
env: | ||
CI: true | ||
- name: Setup | ||
run: | | ||
sudo apt install -y jsonlint | ||
find . -type f -print0 | xargs -0 sed -i 's:#!/usr/bin/with-contenv bash:#!/bin/bash:g' | ||
- name: ESLint | ||
run: yarn eslint | ||
- name: Prettier Check | ||
run: | | ||
yarn prettier-check-ts | ||
yarn prettier-check-js | ||
yarn prettier-check-yml | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
|
||
extends: default | ||
|
||
rules: | ||
|