diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 80b07cd..e5de34d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23c292a..0bbb6ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..21c503b --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,8 @@ +extends: default +ignore: | + node_modules +rules: + line-length: disable + document-start: disable + brackets: disable + truthy: disable