Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
0
fork

Configure Feed

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

chore: Add prereleases to GitHub workflow (#306)

authored by

Phil Pluckthun and committed by
GitHub
8e09c9b3 b9b34019

+22 -1
+10 -1
.changeset/config.json
··· 4 4 "commit": false, 5 5 "access": "public", 6 6 "baseBranch": "main", 7 - "ignore": ["example", "fixtures"] 7 + "ignore": ["example", "fixtures"], 8 + "updateInternalDependencies": "minor", 9 + "snapshot": { 10 + "prereleaseTemplate": "{tag}-{commit}", 11 + "useCalculatedVersion": true 12 + }, 13 + "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { 14 + "onlyUpdatePeerDependentsWhenOutOfRange": true, 15 + "updateInternalDependents": "out-of-range" 16 + } 8 17 }
+12
.github/workflows/release.yaml
··· 68 68 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 69 69 NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 70 70 DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} 71 + 72 + - name: Publish Prerelease 73 + if: steps.changesets.outputs.published != 'true' 74 + continue-on-error: true 75 + env: 76 + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 77 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 78 + run: | 79 + npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN" 80 + git reset --hard origin/main 81 + pnpm changeset version --no-git-tag --snapshot canary 82 + pnpm changeset publish --no-git-tag --snapshot canary --tag canary