Update from Shopify for theme shopify-tailwind-starter-base/feaure/gabby #621
This file contains 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
name: CI | |
on: [push] | |
jobs: | |
tailwindcss-update: | |
name: Generate Tailwind CSS | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate Tailwind CSS | |
uses: ZoeyVid/tailwindcss-update@main | |
with: | |
input: assets/app-tailwind.css | |
output: assets/app.css | |
params: "" | |
- name: Commit & Push | |
run: | | |
git add --force assets/app.css | |
git config user.name "GitHub" | |
git config user.email "[email protected]" | |
git diff-index --quiet HEAD || git commit -m "ci: tailwindcss-update" | |
git push | |
lhci: | |
name: Lighthouse | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lighthouse | |
uses: shopify/lighthouse-ci-action@v1 | |
with: | |
access_token: ${{ secrets.SHOP_ACCESS_TOKEN }} | |
store: ${{ secrets.SHOP_STORE }} | |
password: ${{ secrets.SHOP_PASSWORD }} | |
lhci_github_app_token: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} | |
product_handle: ${{ secrets.SHOP_PRODUCT_HANDLE }} | |
collection_handle: ${{ secrets.SHOP_COLLECTION_HANDLE }} | |
theme-check: | |
name: Theme Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Theme Check | |
uses: shopify/theme-check-action@v1 | |
with: | |
token: ${{ github.token }} |