Skip to content

Commit

Permalink
Update Node.js in CI to 18, 20, 22
Browse files Browse the repository at this point in the history
jsxBracketSameLine is deprecated in favor of bracketSameLine.
  • Loading branch information
alecmev committed Aug 18, 2024
1 parent 3203497 commit e37dd9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 22.x
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 22.x
registry-url: https://registry.npmjs.org/
cache: 'yarn'
- name: Build latest (main) version
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bracketSpacing": false,
"jsxBracketSameLine": true,
"bracketSameLine": true,
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
Expand Down

0 comments on commit e37dd9f

Please sign in to comment.