File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,12 +42,16 @@ jobs:
4242 runs-on : ubuntu-latest
4343 steps :
4444 - uses : actions/checkout@v4
45- - uses : creyD/prettier_action@v4.5
45+ - name : Setup Node.js
46+ - uses : actions/setup-node@v4
4647 with :
47- prettier_options : --check **/*.{js,ts} --plugin=@ianvs/prettier-plugin-sort-imports
48- only_changed : True
49- dry : True
50- prettier_version : 3.5.3
51- allow_other_plugins : true
52- prettier_plugins : " @ianvs/prettier-plugin-sort-imports"
48+ node-version : 20
49+ cache : ' npm'
50+ - name : Install Prettier and Plugins
51+ - run : |
52+ npm install prettier@3.5 @ianvs/prettier-plugin-sort-imports --no-save
53+ - name : Run Prettier Check
54+ - run : |
55+ npx prettier --check js/sign/ --ignore-unknown --ignore-path js/sign/.prettierignore
56+ npx prettier --check js/bundle/ --ignore-unknown --ignore-path js/bundle/.prettierignore
5357
You can’t perform that action at this time.
0 commit comments