Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #52 from python-thread/ci/linting-and-pruning-ci
Browse files Browse the repository at this point in the history
Linting and pruning CI
  • Loading branch information
caffeine-addictt authored Mar 25, 2024
2 parents bf93c05 + d6014bf commit 139fdfa
Show file tree
Hide file tree
Showing 11 changed files with 3,668 additions and 235 deletions.
18 changes: 17 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
{
"extends": "next/core-web-vitals"
"root": true,
"extends": [
"next/core-web-vitals",
"plugin:mdx/recommended"
],
"settings": {
"mdx/code-blocks": true
},
"overrides": [
{
"files": [
"*.md",
"*.mdx"
],
"parser": "eslint-mdx"
}
]
}
33 changes: 0 additions & 33 deletions .github/workflows/deploy.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Linting

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
linting:
name: Linting
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup node
uses: actions/[email protected]
with:
cache: npm

- name: Install dependencies
run: |
set -xe
npm i
- name: Lint
run: |
set -xe
npm run lint
33 changes: 0 additions & 33 deletions .github/workflows/staging.yml

This file was deleted.

Loading

0 comments on commit 139fdfa

Please sign in to comment.