Skip to content

Commit

Permalink
Lock prettier and node version
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Dec 24, 2023
1 parent dd31d79 commit 8901b01
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
- name: Checkout repository
uses: actions/[email protected]

- name: Setup Node.js runtime
uses: actions/[email protected]
with:
node-version: "lts/*"

- name: Install Nodejs toolchain
run: npm ci

- name: Lint and check formatting with prettier
run: npx prettier --check '**/*'

Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
27 changes: 26 additions & 1 deletion package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"optimized",
"social"
],
"devDependencies": {},
"devDependencies": {
"prettier": "^3.1.1"
},
"eslintConfig": {
"env": {
"browser": true,
Expand Down

0 comments on commit 8901b01

Please sign in to comment.