Update clock image positioning #33
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
| # reference: https://github.com/acmcsufoss/fullyhacks/blob/main/.github/workflows/website-check.yaml | |
| name: Codebase Check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check-formatting: | |
| name: Check formatting with Prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.x" | |
| cache: "npm" | |
| - name: Cache dependencies | |
| uses: actions/cache@v3 | |
| id: npm-cache | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-${{ github.event.pull_request.number }}- | |
| - name: Install dependencies | |
| # if: steps.npm-cache.outputs.cache-hit != 'true' | |
| run: npm ci | |
| - name: List installed dependencies | |
| run: npm ls --depth=0 | |
| - name: Check formatting with Prettier | |
| # run: npx prettier --check . | |
| run: npm run check |