Skip to content

Commit

Permalink
⚙️ (jfrog): attest and sign tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
dedsxc committed Sep 20, 2024
1 parent ce23fa2 commit 5edd1de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "feat/no-issue-jfrog-attest-sign-package",
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": []
}
19 changes: 6 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: publish npm packages
on:
pull_request:
# push:
# branches:
# - main
push:
branches:
- main

env:
FORCE_COLOR: "1"
# NPM_REGISTRY: jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-prod-public
NPM_REGISTRY: jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-sandbox-green
NPM_REGISTRY: jfrog.ledgerlabs.net/artifactory/api/npm/ldk-npm-prod-public

permissions:
id-token: write
Expand All @@ -19,7 +17,7 @@ permissions:

jobs:
publish:
# environment: Production
environment: Production
runs-on: ledgerhq-shared-medium
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,11 +48,6 @@ jobs:
uses: changesets/action@v1
with:
publish: pnpm release
# to remove
title: "⚙️ (release) [NO-ISSUE]: Version packages"
commit: "⚙️ (release): Version packages"
branch: feat/no-issue-jfrog-attest-sign-package
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

Expand Down Expand Up @@ -86,7 +79,7 @@ jobs:
- name: Attest tarball
if: steps.changesets.outputs.published == 'true'
uses: actions/attest-build-provenance@v1
uses: LedgerHQ/actions-security/actions/attest@actions/attest-1
with:
subject-path: ./dist

Expand Down

0 comments on commit 5edd1de

Please sign in to comment.