mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
* Updated Documentation in README.md
* chore: remove wrong spelling
* ci: recognize "falsy" as correct spelling
* chore: fix spelling
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
39 lines
797 B
YAML
39 lines
797 B
YAML
name: Continuous Integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Code style and tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "16.x"
|
|
cache: npm
|
|
|
|
- name: 📦 Install dependencies
|
|
run: npm ci
|
|
|
|
- name: 🧪 Run tests
|
|
run: npm test
|
|
|
|
- name: 💄 Code style
|
|
run: npm run style
|
|
|
|
codespell:
|
|
name: Check for spelling errors
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: codespell-project/actions-codespell@master
|
|
with:
|
|
# file types to ignore
|
|
skip: "*.json,*.yml,DIRECTORY.md"
|
|
ignore_words_list: "ba,esy,yse,falsy"
|