Skip to content

chore(deps): update dependency eslint-plugin-prettier to v5.2.3 #674

chore(deps): update dependency eslint-plugin-prettier to v5.2.3

chore(deps): update dependency eslint-plugin-prettier to v5.2.3 #674

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# We need to fetch with a depth of 2 for pull_request so we can do HEAD^2
fetch-depth: 2
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Setup
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: '[Pull Request] Get commit message'
if: always() && github.event_name == 'pull_request'
id: pr_get_commit_message
run: echo ::set-output name=pr_commit_message::$(git log --format=%B -n 1 HEAD^2)
- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_MESSAGE: ${{ steps.pr_get_commit_message.outputs.pr_commit_message }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status == 'success' && 'good' || 'danger' }}