Skip to content

Bump actions/setup-node from 6.0.0 to 6.2.0 #3703

Bump actions/setup-node from 6.0.0 to 6.2.0

Bump actions/setup-node from 6.0.0 to 6.2.0 #3703

Workflow file for this run

name: Code Style Checks
on: [push, pull_request]
jobs:
lint:
name: Check file endings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- run: |
disallowedFiles=`find data/ -type f -not -iname "*.json" -not -iname "*.md"`
for f in $disallowedFiles
do
echo "::error file=$f::File $f is not a .json or .md file."
done
if [ ! -z "$disallowedFiles" ]; then exit 1; fi
prettier:
name: Check for code formatting mistakes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version-file: '.nvmrc'
- run: npm clean-install
- run: npm run lint
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
skip: ./.git,./dist,./data/deprecated.json,./data/discarded.json,package.json,package-lock.json,./scripts
ignore_words_list: "auxilary,brunch,casette,cemetary,chancel,discus,extentions,faiway,goverment,guerilla,guyser,kindergarden,linz,ore,pavillion,sculpter,storys,te,trough"
only_warn: 1