Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(workflows): Run prerelease on release workflow if not published

+10 -59
-59
.github/workflows/prerelease.yml
··· 1 - name: Prerelease 2 - on: 3 - push: 4 - branches: 5 - - main 6 - concurrency: 7 - group: prerelease 8 - cancel-in-progress: true 9 - jobs: 10 - prerelease: 11 - name: Prerelease 12 - runs-on: ubuntu-20.04 13 - timeout-minutes: 20 14 - steps: 15 - - name: Checkout Repo 16 - uses: actions/checkout@v3 17 - with: 18 - fetch-depth: 0 19 - 20 - - name: Setup Node 21 - uses: actions/setup-node@v3 22 - with: 23 - node-version: 18 24 - 25 - - name: Setup pnpm 26 - uses: pnpm/action-setup@v2.2.2 27 - with: 28 - version: 7 29 - run_install: false 30 - 31 - - name: Get pnpm store directory 32 - id: pnpm-store 33 - run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" 34 - 35 - - name: Use pnpm store 36 - uses: actions/cache@v3 37 - id: pnpm-cache 38 - with: 39 - path: | 40 - ~/.cache/Cypress 41 - ${{ steps.pnpm-store.outputs.pnpm_cache_dir }} 42 - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} 43 - restore-keys: | 44 - ${{ runner.os }}-pnpm- 45 - 46 - - name: Install Dependencies 47 - run: pnpm install 48 - 49 - - name: TypeScript 50 - run: pnpm run check 51 - 52 - - name: Publish 53 - env: 54 - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 55 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 56 - run: | 57 - npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN" 58 - pnpm changeset version --no-git-tag --snapshot canary 59 - pnpm changeset publish --no-git-tag --snapshot canary --tag canary
+10
.github/workflows/release.yml
··· 51 51 env: 52 52 NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 53 53 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 54 + 55 + - name: Publish Prerelease 56 + if: steps.changesets.outputs.published != 'true' 57 + env: 58 + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 59 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 60 + run: | 61 + npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN" 62 + pnpm changeset version --no-git-tag --snapshot canary 63 + pnpm changeset publish --no-git-tag --snapshot canary --tag canary