Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): fix prettier #633

Merged
merged 2 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
persist-credentials: false

- name: Setup Node.js 🔧
uses: actions/setup-node@v2
uses: actions/setup-node@v3.8.1
with:
node-version: 14.x
node-version: 16.x

- name: Update npm 🚀
run: npm install -g npm@latest
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3.8.1
with:
node-version: '12'

- name: Install Prettier
run: npm install -g prettier

node-version: 16.x

- name: Install 🔧 # Install dependencies
run: |
npm install

- name: Check Format
run: |
prettier -c "./**/*.{js,css,json}"
npm run check-format

Loading