Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/follow-redirects-1.15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper authored Apr 27, 2024
2 parents c441956 + d5888e1 commit dc68a28
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 43 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ jobs:
steps:

- name: Checkout this repository
uses: actions/checkout@master
uses: actions/checkout@v4.1.1

- name: Setup Node.js
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4.0.2
with:
node-version: v19.6.0
node-version: v20.12.2
cache: npm

- name: Install ESLint
run: npm install -g eslint
run: npm install -g eslint@8.56.0

- name: Install ESLint configurations dependencies
run: npm install eslint-config-standard eslint-plugin-import eslint-plugin-n eslint-plugin-promise eslint-formatter-pretty
run: npm install eslint-config-standard eslint-plugin-import eslint-plugin-n eslint-plugin-promise eslint-formatter-pretty@v5.0.0

- name: Download .eslintrc.yml
uses: suisei-cn/actions-download-file@v1.4.0
uses: suisei-cn/actions-download-file@v1.6.0
with:
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.eslintrc.yml"

# Rules https://eslint.org/docs/latest/rules/
- name: Run ESLint
run: eslint . --format=pretty --ext .js
run: eslint . --format=pretty --config .eslintrc.yml --ext .js
8 changes: 1 addition & 7 deletions .github/workflows/check-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,9 @@ jobs:
- name: Download base Vocab accept.txt
run: wget https://raw.githubusercontent.com/fharper/gh-configs/main/styles/Vocab/base/accept.txt -O styles/Vocab/base/accept.txt

- name: Get latest version of Vale
id: lastversion
uses: dvershinin/[email protected]
with:
repository: errata-ai/vale

- name: Install Vale
run: |
wget https://github.com/errata-ai/vale/releases/download/v${{ steps.lastversion.outputs.last_version }}/vale_${{ steps.lastversion.outputs.last_version }}_Linux_64-bit.tar.gz -O vale.tar.gz
wget https://github.com/errata-ai/vale/releases/download/v2.30.0/vale_2.30.0_Linux_64-bit.tar.gz -O vale.tar.gz
tar -xvzf vale.tar.gz vale
rm vale.tar.gz
Expand Down
42 changes: 14 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@slack/bolt": "^3.8.1",
"@slack/events-api": "^3.0.1",
"express": "^4.17.2",
"express": "^4.19.2",
"dotenv": "^8.6.0"
}
}

0 comments on commit dc68a28

Please sign in to comment.