Bump lucide-react from 0.378.0 to 0.417.0 #276
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: Format | |
on: | |
pull_request: | |
branches: [main, devops/qa-testing] | |
push: | |
branches: [main, devops/qa-testing] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.ACTIONS_TOKEN }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
token: ${{ secrets.ACTIONS_TOKEN }} | |
- run: npm ci | |
- run: npm run format | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply formatting changes | |
branch: ${{ github.head_ref }} | |
- name: Login to Docker | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./Dockerfile | |
push: true | |
tags: ${{ secrets.DOCKER_USERNAME }}/job-bank:${{ github.sha }} | |
# - name: Notify failure | |
# if: failure() | |
# uses: actions/github-script@v4 | |
# with: | |
# github-token: ${{ secrets.ACTIONS_TOKEN }} | |
# script: | | |
# github.issues.createComment({ | |
# issue_number: context.issue.number, | |
# owner: context.repo.owner, | |
# repo: context.repo.repo, | |
# body: 'Formatting failed. Please check the logs.' | |
# }) |