-
Notifications
You must be signed in to change notification settings - Fork 0
feat(cas): M3 Launchpad — native Bun/Deno adapters, async crypto, and OIDC/JSR release workflow #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f1da055
feat(cas): M3 Launchpad — native Bun/Deno adapters, async crypto, and…
flyingrobots 8be2cfa
chore(cas): switch to pnpm, fix double CI trigger, and add pre-push g…
flyingrobots 2901a64
fix(cas): address lint errors in Bun/Web adapters
flyingrobots 7be1a7a
fix(deps): update jsr to ^0.14.2
flyingrobots 92f9feb
fix(web-crypto): resolve race condition in streaming encryption
flyingrobots ba85170
ci(release): harden release workflow with version checks and modularity
flyingrobots 415108c
test(crypto): consolidate double decrypt calls in integrity tests
flyingrobots fc4d6a4
fix(bun-crypto): harden BunCryptoAdapter with async sha256 and valida…
flyingrobots 89ae1fd
fix(web-crypto): add type check to #validateKey
flyingrobots 413d00b
fix(cas): resolve lazy init race in ContentAddressableStore
flyingrobots c52013f
chore(git-hooks): harden hook installation script
flyingrobots 2b1c891
chore(docker): use corepack to manage pnpm
flyingrobots 76360d2
chore(cas): update CHANGELOG for v1.3.0 hardening
flyingrobots df20dbf
fix(test): remove unused CasError import
flyingrobots File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| id-token: write # Required for OIDC and provenance | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| cache: pnpm | ||
| registry-url: 'https://registry.npmjs.org' | ||
|
|
||
| - run: pnpm install --frozen-lockfile | ||
|
|
||
| # Run full quality gates before publishing | ||
| - run: pnpm run lint | ||
| - run: pnpm test | ||
|
|
||
| # Integration tests in Docker | ||
| - name: Integration tests (Node) | ||
| run: docker compose run --rm test-node pnpm vitest run test/integration | ||
| - name: Integration tests (Bun) | ||
| run: docker compose run --rm test-bun bunx vitest run test/integration | ||
| - name: Integration tests (Deno) | ||
| run: docker compose run --rm test-deno deno run -A npm:vitest run test/integration | ||
|
|
||
| # Publish to npm using OIDC for provenance | ||
| - name: Publish to npm | ||
| run: pnpm publish --provenance --no-git-checks | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
|
||
| # Publish to JSR | ||
| - name: Publish to JSR | ||
| run: pnpm dlx jsr publish | ||
|
|
||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| generate_release_notes: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "@git-stunts/cas", | ||
| "version": "1.3.0", | ||
| "exports": { | ||
| ".": "./index.js", | ||
| "./service": "./src/domain/services/CasService.js", | ||
| "./schema": "./src/domain/schemas/ManifestSchema.js" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.