Skip to content

Commit

Permalink
Merge pull request #89 from AlchemyCMS/dependabot/npm_and_yarn/pretti…
Browse files Browse the repository at this point in the history
…er-3.3.3

Bump prettier from 2.8.8 to 3.3.3
  • Loading branch information
tvdeyen authored Oct 30, 2024
2 parents ea3552d + 8966363 commit fe5dacb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,23 @@ jobs:
bundler-cache: true
- name: Lint Ruby files
run: bundle exec standardrb
Prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Restore node_modules cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-node-modules
- name: Install dependencies
run: yarn install
- name: Lint JS files
run: yarn run lint
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
"@rollup/plugin-babel": "^5.3.1",
"babel-jest": "^29.0.2",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier": "^3.3.3",
"rollup": "^2.79.0"
},
"scripts": {
"build": "rollup --config",
"lint": "prettier --check 'src/**/*.js'",
"test": "jest"
},
"browserslist": "> 0.25%, not dead"
Expand Down

0 comments on commit fe5dacb

Please sign in to comment.