Skip to content

Commit

Permalink
Merge pull request #42 from bidoubiwa/add_yaml_lint_test
Browse files Browse the repository at this point in the history
Add yaml lint test
  • Loading branch information
bidoubiwa authored Aug 20, 2021
2 parents 2ff9525 + 0861ee5 commit ed11a6a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
with:
node-version: '14.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@octocat'
- name: Check release validity
run: sh scripts/check-release.sh
- run: npm install
- run: npm publish
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ jobs:
run: yarn --dev
- name: Run style check
run: yarn lint
- name: Yaml Style
uses: ibiqlik/action-yamllint@v3
with:
config_file: .yamllint.yml
8 changes: 8 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: default
ignore: |
node_modules
rules:
line-length: disable
document-start: disable
brackets: disable
truthy: disable

0 comments on commit ed11a6a

Please sign in to comment.