Skip to content

chore(deps): update vitest monorepo to v4.1.1 #833

chore(deps): update vitest monorepo to v4.1.1

chore(deps): update vitest monorepo to v4.1.1 #833

name: Release Please
on:
push:
branches:
- main
permissions:
id-token: write
attestations: write
artifact-metadata: write
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-24.04
steps:
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
id: release
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
- name: Export commit timestamp
if: ${{ steps.release.outputs.release_created }}
uses: ./.github/actions/source-date-epoch
- name: Emscripten
if: ${{ steps.release.outputs.release_created }}
uses: ./.github/actions/emscripten
- name: Restore
if: ${{ steps.release.outputs.release_created }}
uses: ./.github/actions/restore
- name: Build
if: ${{ steps.release.outputs.release_created }}
run: pnpm build
- name: Publish
if: ${{ steps.release.outputs.release_created }}
run: npm publish --provenance --access public
- name: Generate SBOM
if: ${{ steps.release.outputs.release_created }}
uses: ./.github/actions/sbom
- name: Attest
if: ${{ steps.release.outputs.release_created }}
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4
with:
subject-path: src/argon2.wasm
sbom-path: sbom.cdx.json
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} src/argon2.wasm sbom.cdx.json