Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 Fixed up some CI issues #186

Merged
merged 5 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading