Skip to content

Commit

Permalink
do dry run again
Browse files Browse the repository at this point in the history
GitOrigin-RevId: eb577bdd9e3ba97c89cd7601c90acd62cc747d88
  • Loading branch information
f authored and actions-user committed Sep 20, 2024
1 parent 393a77a commit 6c4158f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 25 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/packages.react-router-busy.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
version: latest
- name: Run Biome
run: biome ci .
validate:
release:
needs: [quality]
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -36,7 +41,7 @@ jobs:
with:
bun-version: latest
- name: Install dependencies (`npm ci`)
# Different set of dependencies due to subset of packages causes lockfile changes that cause failure, so we don't copy lockfile over
# Different set of dependencies due to subset of packages causes lockfile changes that cause failure so no --frozen-lockfile
# https://github.com/oven-sh/bun/issues/5792#issuecomment-2325444077
run: bun install
- name: Test
Expand All @@ -46,27 +51,6 @@ jobs:
run: bun --filter react-router-busy build
- name: Check exports
run: bun --filter react-router-busy check-exports
release:
needs: [validate]
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Bun
uses: oven-sh/[email protected]
with:
bun-version: latest
scope: "react-router-busy"
- name: Install dependencies (`npm ci`)
# Different set of dependencies due to subset of packages causes lockfile changes that cause failure, so we don't copy lockfile over
run: bun install
# Note we have to toggle Workflow permissions > Allow GitHub Actions to create and approve pull requests in https://github.com/bitofbreeze/mono/settings/actions
# Even with permissions above https://github.com/orgs/community/discussions/27689#discussioncomment-5707424
# Could avoid this with personal access token https://microsoft.github.io/beachball/concepts/ci-integration.html#authentication
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-busy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-router-busy",
"//version": "Not used https://semantic-release.gitbook.io/semantic-release/support/faq#why-is-the-package.jsons-version-not-updated-in-my-repository",
"version": "0.0.0",
"description": "Drop-in busy state for react-router forms and links",
"description": "Drop-in busy state for react-router/remix forms and links",
"keywords": [
"react-router",
"form",
Expand Down Expand Up @@ -59,6 +59,6 @@
"@semantic-release/npm",
"@semantic-release/github"
],
"dryRun": false
"dryRun": true
}
}

0 comments on commit 6c4158f

Please sign in to comment.