Skip to content

Commit

Permalink
💚 Fixed up some CI issues (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
myles authored Jan 19, 2025
1 parent 6feb715 commit ad2a824
Show file tree
Hide file tree
Showing 6 changed files with 248 additions and 238 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,19 @@ jobs:
with:
node-version: ${{ matrix.node }}
check-latest: true

- name: Cache dependencies 📦
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies 👨🏻‍💻
id: install-npm-dependencies
run: npm install

- name: Run linter 👀
id: run-linter
- name: Run the linter 👀
id: run-lint
run: npm run lint
9 changes: 8 additions & 1 deletion .remarkrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"settings": {
"bullet": "-",
"emphasis": "_",
"strong": "*"
},
"plugins": [
"lint",
"lint-alphabetize-lists",
"validate-links",
"remark-lint-are-links-valid-duplicate"
"remark-lint-are-links-valid-duplicate",
"remark-preset-lint-consistent",
"remark-preset-lint-recommended"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "unifiedjs.vscode-remark",
"editor.formatOnSave": true
}
18 changes: 10 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ Your contributions are always welcome!

## Guidelines

* Add section if needed.
* Add section title to Table of contents.
* Search previous suggestions before making a new one, as yours may be a duplicate.
* Add your links: ```- [project-name](http://example.com/) - A short description ends with a dot. - `#ProgrammingLanguage` `#Framework` ```
* Don't mention the section title in the description as it's implied.
* Check your spelling and grammar.
* Make sure your text editor is set to remove trailing whitespace.
* Send a Pull Request.
<!--lint disable alphabetize-lists-->

- Add section if needed.
- Add section title to Table of contents.
- Search previous suggestions before making a new one, as yours may be a duplicate.
- Add your links: ``- [project-name](http://example.com/) - A short description ends with a dot. - `#ProgrammingLanguage` `#Framework` ``
- Don't mention the section title in the description as it's implied.
- Check your spelling and grammar.
- Make sure your text editor is set to remove trailing whitespace.
- Send a Pull Request.
Loading

0 comments on commit ad2a824

Please sign in to comment.