diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml new file mode 100644 index 0000000..62978d3 --- /dev/null +++ b/.github/workflows/lint-format.yml @@ -0,0 +1,20 @@ +name: lint-format +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + check-bats-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '18' + - run: npm i + - run: npm run lint + - run: npm run format diff --git a/package.json b/package.json index 97328b7..aabb039 100644 --- a/package.json +++ b/package.json @@ -10,4 +10,4 @@ "remark-frontmatter": "^5.0.0", "remark-stringify": "^11.0.0" } -} \ No newline at end of file +}