Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/axios-and-slack/bolt…
Browse files Browse the repository at this point in the history
…-1.6.7
  • Loading branch information
fharper committed Apr 27, 2024
2 parents 7712646 + bc7694e commit 5f21343
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 46 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
48 changes: 17 additions & 31 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.17.1",
"@slack/events-api": "^3.0.1",
"express": "^4.17.2",
"express": "^4.19.2",
"dotenv": "^8.6.0"
}
}

0 comments on commit 5f21343

Please sign in to comment.