data: 合并了了奶龙三叶阳野天(六七一十三)的信息并加上了金牌背信息 #1219
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: | |
| push: | |
| branches: | |
| - v3 | |
| pull_request: | |
| branches: | |
| - v3 | |
| concurrency: | |
| group: deploy | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm run lint | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install | |
| - name: Typecheck | |
| run: pnpm run typecheck | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: pnpm | |
| - name: Restore cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| dist | |
| .nuxt | |
| key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuxt-build- | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Static HTML export with Nuxt | |
| run: pnpm run generate | |
| env: | |
| NUXT_APP_BASE_URL: /summoners-summit/ | |
| NUXT_PUBLIC_NEED_REDIRECT: true | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./dist | |
| deploy: | |
| needs: build | |
| permissions: | |
| pages: write | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Deploy GitHub Pages site | |
| uses: actions/deploy-pages@v4 |