diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e0d53e6..88e16a5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,3 +1,6 @@ +# TODO: Check the CSS format. `stylelint` is not usable as `postcss-sass` is +# not maintained anymore. +# See https://github.com/AleshaOleg/postcss-sass/issues/175. name: Deploy on: @@ -25,29 +28,6 @@ jobs: name: webpage path: public/* - # There is an action called `reviewdog/action-stylelint`. However, it requires `package.json` even if a project is not managed by npm. - # That is why I install and run stylelint manually. - check_css: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Get the npm cache directory - id: npm-cache-dir - run: echo "::set-output name=dir::$(npm config get cache)" - - - uses: actions/cache@v3 - with: - path: ${{ steps.npm-cache-dir.outputs.dir }} - key: ${{ runner.os }}-stylelint - - - name: Install stylelint - run: npm install stylelint postcss-sass --location=global - - - name: Run stylelint - run: stylelint sass/**/* - check_head_and_body_concatenation: runs-on: ubuntu-latest @@ -116,7 +96,6 @@ jobs: runs-on: ubuntu-latest needs: [ build - , check_css , check_head_and_body_concatenation , check_python_file_format , check_translations diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index 95a5092..0000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "customSyntax": "postcss-sass", - "rules": { - "indentation": 4 - } -}