Skip to content

Commit

Permalink
Chore: Add test for Node.js environment, fix lint and meta
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynhathaway committed Jul 1, 2023
1 parent daa0c6e commit 95e04c6
Show file tree
Hide file tree
Showing 9 changed files with 10,082 additions and 15,805 deletions.
7 changes: 5 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
allow:
- dependency-type: production
schedule:
interval: "daily"
interval: "weekly"
versioning-strategy: widen
commit-message:
prefix: "Upgrade(prod):"
prefix: "Upgrade(npm):"
prefix-development: "Upgrade(dev):"
reviewers:
- "evelynhathaway"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x

# From: https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
- name: Cache node modules
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x

# From: https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
- name: Cache node modules
Expand Down
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
npx --no -- commitlint --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
npx --no lint-staged

0 comments on commit 95e04c6

Please sign in to comment.