⬆️ Bump the tailwindcss group across 1 directory with 4 updates #351
Workflow file for this run
This file contains hidden or 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: Node.js CI | |
on: | |
merge_group: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: 21 | |
# - uses: actions/cache@v3 | |
# with: | |
# path: ~/.cache/ms-playwright | |
# key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }} | |
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
#- run: npx playwright install | |
- run: pnpm run build | |
- run: pnpm run check | |
- run: pnpm run test:unit | |
#- run: pnpm run test:integration | |
- run: pnpm run lint | |
fix: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
needs: | |
- test | |
if: failure() && (github.event_name == 'pull_request' || github.event_name == 'push') && github.actor != 'github-actions[bot]' && github.actor != 'nektos/act' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: 21 | |
- run: | | |
pnpm install --fix-lockfile --no-frozen-lockfile | |
git add . | |
- id: commit-lockfile | |
uses: qoomon/actions--create-commit@v1 | |
with: | |
message: | | |
📌 pnpm install --fix-lockfile | |
[dependabot skip] | |
skip-empty: true | |
- run: | | |
pnpm run format | |
git add . | |
- id: commit-format | |
uses: qoomon/actions--create-commit@v1 | |
with: | |
message: | | |
🎨 pnpm run format | |
[dependabot skip] | |
skip-empty: true | |
- run: | | |
pnpm run sync | |
pnpm run lint:fix | |
git add . | |
- id: commit-lint | |
uses: qoomon/actions--create-commit@v1 | |
with: | |
message: | | |
🚨 pnpm run lint:fix | |
[dependabot skip] | |
skip-empty: true | |
- if: steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit | |
run: git push |