アクセスのない Runtime App を自動で落とせるようにする #925
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: Dashboard-CI | |
defaults: | |
run: | |
working-directory: dashboard | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'dashboard/**' | |
pull_request: | |
paths: | |
- 'dashboard/**' | |
jobs: | |
packages: | |
name: Install Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: corepack enable | |
- run: yarn install --immutable | |
rome: | |
name: Format and Lint | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: corepack enable | |
- run: yarn install --immutable | |
- run: yarn ci | |
typecheck: | |
name: Check types | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: corepack enable | |
- run: yarn install --immutable | |
- run: yarn typecheck | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: corepack enable | |
- run: yarn install --immutable | |
- run: yarn test | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: corepack enable | |
- run: yarn install --immutable | |
- run: yarn build |