summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/js_style.yml2
-rw-r--r--package.json4
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/js_style.yml b/.github/workflows/js_style.yml
index 6e74bcf..f3c2de7 100644
--- a/.github/workflows/js_style.yml
+++ b/.github/workflows/js_style.yml
@@ -16,7 +16,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
diff --git a/package.json b/package.json
index 9d570c1..937148b 100644
--- a/package.json
+++ b/package.json
@@ -18,8 +18,8 @@
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
- "fmt": "clang-format --dry-run -i *.cjs *.js",
- "fmt:fix": "clang-format -i *.cjs *.js",
+ "fmt": "clang-format --dry-run life2/simulator/src/*.js",
+ "fmt:fix": "clang-format -i life2/simulator/src/*.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {