ユーザーに論理削除を追加、削除機能の作成 #352
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
on: | |
pull_request: | |
branches: | |
- develop | |
paths: | |
- "view/next-project/**" | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
cache-dependency-path: view/next-project/package-lock.json | |
- name: npm install | |
working-directory: view/next-project | |
run: npm install | |
- name: Prettier | |
working-directory: view/next-project | |
run: npm run format | |
- name: Lint | |
working-directory: view/next-project | |
run: npm run lint:fix | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: formatted by workflow |