fix 管理者画面のページ削除 #689
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Admin | |
on: | |
pull_request: | |
jobs: | |
admin-run-linters: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
# ESLint and Prettier must be in `package.json` | |
- name: Install Node.js dependencies | |
run: npm ci | |
working-directory: ./admin | |
- name: Run linters | |
uses: wearerequired/lint-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Enable linters | |
eslint: true | |
prettier: true | |
eslint_dir: ./admin | |
prettier_dir: ./admin | |
auto_fix: true | |
main-run-linters: | |
runs-on: ubuntu-latest | |
needs: admin-run-linters | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
# ESLint and Prettier must be in `package.json` | |
- name: Install Node.js dependencies | |
run: npm ci | |
working-directory: ./main | |
- name: Run linters | |
uses: wearerequired/lint-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Enable linters | |
eslint: true | |
prettier: true | |
eslint_dir: ./main | |
prettier_dir: ./main | |
auto_fix: true | |
circle-run-linters: | |
runs-on: ubuntu-latest | |
needs: main-run-linters | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
# ESLint and Prettier must be in `package.json` | |
- name: Install Node.js dependencies | |
run: npm ci | |
working-directory: ./circle | |
- name: Run linters | |
uses: wearerequired/lint-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Enable linters | |
eslint: true | |
prettier: true | |
eslint_dir: ./circle | |
prettier_dir: ./circle | |
auto_fix: true |