Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
issues: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
fetch-depth: 0
ref: main
- name: Set git config safe.directory
run: git config --global --add safe.directory "$(pwd)"
- name: Set git identity
Expand Down Expand Up @@ -57,7 +60,7 @@ jobs:
permissions:
contents: read
issues: write
id-token: write # Required for provenance & Trusted Publishing.
id-token: write # Required for Trusted Publishing.
steps:
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
with:
Expand All @@ -71,11 +74,9 @@ jobs:
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Install dependencies
run: npm ci
- name: Publish to npm with provenance
- name: Publish to npm
env:
NPM_CONFIG_PROVENANCE: true
NPM_TRUSTED_PUBLISHER: true
run: npx -p publib@latest publib-npm
release_maven:
name: Publish to Maven Central
Expand Down
Loading