- Reverted WebGrease back to version 1.5.2 as the newer version throw… #170
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Obsidian Style Checker | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| style-check: | |
| name: Obsidian Style Checker | |
| runs-on: ubuntu-latest | |
| if: ${{ !contains(github.event.head_commit.message, 'style cleanup') }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 20 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.17.1' | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: "./Dev Tools/obsidian-style-checker" | |
| - name: Run Obsidian Style Checker | |
| run: npx obsidian-style-checker --from "${{ github.event.before }}" --to "${{ github.event.after }}" --asana | |
| working-directory: "./Dev Tools/obsidian-style-checker" | |
| env: | |
| ASANA_ACCESS_TOKEN: "${{ secrets.ASANA_ACCESS_TOKEN }}" | |
| ASANA_WORKSPACE: "${{ vars.ASANA_WORKSPACE }}" | |
| ASANA_PROJECT: "${{ vars.ASANA_STYLE_CHECKER_PROJECT }}" | |
| ASANA_SECTION: "${{ vars.ASANA_STYLE_CHECKER_SECTION }}" |