bump(deps): update dependency lint-staged to ^14.0.1 - autoclosed #9443
Workflow file for this run
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 Drift | |
on: | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "**.md" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tailwind: | |
name: Tailwind | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- run: npm ci | |
- name: "Drift Detection: tailwind.config.js" | |
working-directory: mobile-app/app | |
run: | | |
export BEFORE=$(openssl sha1 styles.json | sed 's/^.* //') | |
npx create-tailwind-rn | |
export AFTER=$(openssl sha1 styles.json | sed 's/^.* //') | |
if [ "$BEFORE" != "$AFTER" ] ; then | |
echo "Drift detected: tailwind.config.js, please run 'npx create-tailwind-rn' in the /app directory." | |
exit 1 | |
fi |