A linter for Shopify Themes by Docker.
For more information on how to use theme-check, please check the official repository. https://github.com/shopify/theme-check
$ docker run -it --rm -v `pwd`:/tmp shouheitai/shopify-theme-check theme-check .
name: github CI
on:
push
jobs:
theme-check:
runs-on: ubuntu-latest
container:
image: shouheitai/shopify-theme-check
steps:
- uses: actions/checkout@v2
- name: liquid theme check
run: theme-check .
stages:
- lint
theme_lint:
stage: lint
image: shouheitai/shopify-theme-check
script:
- theme-check .