diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..c99268b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +name: Lint Code Base + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + run-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 + + - name: Install Dependencies + run: npm ci + working-directory: ./next + + - name: Run Lint + run: npm run lint + working-directory: ./next diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml deleted file mode 100644 index 8a3871c..0000000 --- a/.github/workflows/super-linter.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Lint Code Base - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - run-lint: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - - - name: Lint Code Base - uses: github/super-linter@v4 - env: - VALIDATE_ALL_CODEBASE: false - DIRECTORY_PATH: "./next" - DEFAULT_BRANCH: "main" - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/next/src/components/blog-post-item/styles.module.scss b/next/src/components/blog-post-item/styles.module.scss index 991b479..ccfe4ad 100644 --- a/next/src/components/blog-post-item/styles.module.scss +++ b/next/src/components/blog-post-item/styles.module.scss @@ -12,15 +12,11 @@ background-color: lighten($color-background, 3%); border-radius: .35rem; border: none; - - .heading { - font-weight: 300; - } } .heading { - font-weight: 400; - font-size: clamp(1.2rem, 1.3vw, 1.6rem); + font-weight: 500; + font-size: clamp(1.1rem, 1.1vw, 1.3rem); } .date {