正規表現5〜10番のパズル問題を追加 #409
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: React CI | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "45 10 * * 2" # At 10:45 AM (UTC) every Tuesday. | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build_and_test: | |
| name: React Build and Test | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - name: React Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: '22' | |
| package-manager-cache: false | |
| - name: Pin Yarn | |
| run: corepack enable && corepack prepare [email protected] --activate | |
| - name: React install dependencies | |
| run: yarn install --frozen-lockfile | |
| working-directory: ./frontend | |
| - name: React lint | |
| run: yarn lint | |
| working-directory: ./frontend | |
| - name: React format | |
| run: yarn format:check | |
| working-directory: ./frontend | |
| - name: React typecheck | |
| run: yarn typecheck | |
| working-directory: ./frontend | |
| - name: React Build | |
| run: yarn build | |
| working-directory: ./frontend | |
| - name: React Run tests | |
| run: yarn test | |
| working-directory: ./frontend |