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(workspace): Add prerelease GitHub Action (#2957)

authored by

Phil Pluckthun and committed by
GitHub
2bd5857f 101c990f

+60 -3
-2
.github/workflows/ci.yml
··· 2 2 3 3 on: 4 4 pull_request: 5 - push: 6 - branches: main 7 5 8 6 jobs: 9 7 check:
+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: Build 50 + run: pnpm build 51 + 52 + - name: Publish 53 + env: 54 + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 55 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 56 + run: | 57 + echo "\n//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}\n" > $HOME/.npmrc 58 + pnpm changeset version --no-git-tag --snapshot canary 59 + pnpm changeset publish --no-git-tag --snapshot canary --tag canary
+1 -1
.github/workflows/release.yml
··· 45 45 46 46 - name: PR or Publish 47 47 id: changesets 48 - uses: changesets/action@b3300fad33b6ab794313da28d27424c0e2f78991 48 + uses: changesets/action@595655c3eae7136ff5ba18200406898904362926 49 49 with: 50 50 publish: pnpm changeset publish 51 51 env: