Skip to content

Commit

Permalink
feat: update prettier action
Browse files Browse the repository at this point in the history
  • Loading branch information
Whisker17 committed Jul 27, 2023
1 parent 0348f54 commit e92f49b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/prettier_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,30 @@ jobs:
- name: Install Prettier
run: npm install prettier --global

- name: Display Prettier Version
run: prettier --version
- name: Get Modified Files
id: modified-files
run: |
echo "::set-output name=files::$(git diff --name-only HEAD^)"
- name: Run Prettier Auto-Format
run: prettier --write .
- name: Format Modified Files
run: |
modified_files=${{ steps.modified-files.outputs.files }}
if [ -n "$modified_files" ]; then
prettier --write $modified_files
else
echo "No modified files found."
fi
- name: Commit Changes
if: ${{ steps.modified-files.outputs.files != '' }}
run: |
git config --global user.name "Whisker17"
git config --global user.email "[email protected]"
git add .
git commit -m "Auto-format code with Prettier [skip ci]"
- name: Push Changes
if: ${{ steps.modified-files.outputs.files != '' }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions evaluations/AdMeta_1_0xCaso.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Evaluation



- **Status:** Accepted
- **Application Document:** https://github.com/w3f/Grants-Program/blob/master/applications/AdMeta.md
- **Milestone:** 1
Expand All @@ -22,6 +23,7 @@

## General Notes v2 - Jan 11, 2023


The Testing Guide has been updated, it's findable in the WebApp [README](https://github.com/AdMetaNetwork/admeta-webapp/blob/bb74d090d815bb9af5cfb9314968672bffa54ffa/README.md).

## General Notes v1 - Jan 9, 2023
Expand All @@ -31,6 +33,8 @@ Overall the delivery is really good. The main functionalities work and the UI is
- The webapp lets you try all the most important functionalities;
- For now, users can claim rewards without doing any tasks, but the team [stated](https://github.com/w3f/Grant-Milestone-Delivery/pull/667#issuecomment-1375771236) that they plan to make this impossible (users should complete some tasks while watching ads to claim rewards);



As the main problem was the local testing, I ask the team to slightly improve the WebApp Guide:

### 0c. Testing Guide
Expand Down

0 comments on commit e92f49b

Please sign in to comment.