feat: support authentication token for private repositories #6169
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 | |
on: | |
push: | |
branches: | |
- main | |
- v3 | |
pull_request: | |
branches: | |
- main | |
- v3 | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: corepack enable | |
- run: pnpm install | |
- run: pnpm dev:prepare | |
- run: pnpm lint | |
- run: pnpm prepack | |
- run: pnpm typecheck | |
- run: pnpm test | |
- name: Publish | |
run: pnpx pkg-pr-new publish --compact --no-template --pnpm | |