Skip to content

Commit

Permalink
Move and rename
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Oct 16, 2020
1 parent 1a4d930 commit 597a420
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down
1 change: 0 additions & 1 deletion .yamllint → .yamllint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

extends: default

rules:
Expand Down

0 comments on commit 597a420

Please sign in to comment.