Skip to content

Commit

Permalink
Revert "fix(ci): no tgz in changeset pr (QwikDev#6728)"
Browse files Browse the repository at this point in the history
This reverts commit 444b77f.
  • Loading branch information
maiieul committed Aug 27, 2024
1 parent b00e13a commit 1edd566
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -801,20 +801,6 @@ jobs:
- run: pnpm install --frozen-lockfile

# Do this before other release steps to avoid
# publishing temporary files
- name: Create Release Pull Request or Publish to npm
if: github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch'
id: changesets
uses: changesets/action@v1
with:
version: pnpm version
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Commit Build Artifacts
if: github.event_name == 'push'
env:
Expand All @@ -827,6 +813,18 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release Pull Request or Publish to npm
if: github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch'
id: changesets
uses: changesets/action@v1
with:
#version: pnpm version
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish manually
if: github.event_name == 'workflow_dispatch'
run: pnpm build --set-dist-tag="${{ github.event.inputs.disttag }}" --validate --release
Expand Down

0 comments on commit 1edd566

Please sign in to comment.