fix: prevent including extra params in repository name on GitHub Card #6859
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: ci | |
permissions: {} | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
merge_group: {} | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# workaround for npm registry key change | |
# ref. `pnpm@10.1.0` / `pnpm@9.15.4` cannot be installed due to key id mismatch · Issue #612 · nodejs/corepack | |
# - https://github.com/nodejs/corepack/issues/612#issuecomment-2629496091 | |
- run: npm i -g corepack@latest && corepack enable | |
- uses: actions/setup-node@v4.2.0 | |
- name: 📦 Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: 🚧 Set up project | |
run: pnpm nuxi prepare | |
- name: 🧪 Test project | |
run: pnpm test:ci | |
timeout-minutes: 10 | |
- name: 📝 Lint | |
run: pnpm lint | |
- name: 💪 Type check | |
run: pnpm test:typecheck |