Skip to content

Commit

Permalink
fix: use environment for npm deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mchristopher committed Jan 23, 2025
1 parent 389445b commit c580d3e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 55 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/pr-release.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/release-npm-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
release-npm-latest:
name: Tag packages as latest
runs-on: buildjet-4vcpu-ubuntu-2204
environment: npm-deploy
steps:
- uses: actions/checkout@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-npm-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
release-changesets:
name: Release to @preview tag on npm
runs-on: buildjet-4vcpu-ubuntu-2204
environment: npm-deploy
permissions:
pull-requests: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
release-changesets:
name: Release main or rc
runs-on: buildjet-4vcpu-ubuntu-2204
environment: npm-deploy
steps:
- uses: actions/checkout@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unpublish-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
clean-npm-versions:
name: Unpublish versions next, preview, main...
runs-on: buildjet-4vcpu-ubuntu-2204
environment: npm-deploy
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sdk-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
packages: fuels,@fuels/react,@fuels/ts-config,@fuels/tsup-config
npm-tag: ${{ matrix.tag }}
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c580d3e

Please sign in to comment.