リポジトリ初期セットアップ: 各種設定ファイル・ドキュメント・exampleおよびpackageディレクトリの追加 #7
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| name: Install pnpm | |
| with: | |
| run_install: | | |
| - recursive: true | |
| args: [--no-frozen-lockfile] | |
| - name: Lint | |
| run: pnpm run --if-present --recursive --parallel lint | |
| - name: Test | |
| run: pnpm run --if-present --recursive --parallel test | |
| - name: Build | |
| run: pnpm run --if-present --recursive --parallel build |