-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.craft.yml
More file actions
42 lines (41 loc) · 1.12 KB
/
Copy path.craft.yml
File metadata and controls
42 lines (41 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Craft release config for `binpatch`.
#
# Single-package, single-target: npm via OIDC trusted publishing. Craft
# auto-bumps package.json (no `workspace:*` deps to confuse `npm version
# --no-git-tag-version`), discovers the npm tarball from the
# `npm-tarball` CI artifact (uploaded by ci.yml on release branches), then
# hands off to .github/workflows/publish.yml which calls `npm publish
# --provenance --access public` using the OIDC identity bound to this
# repo on npmjs.com.
minVersion: '2.21.1'
changelog:
policy: auto
versioning:
policy: auto
statusProvider:
name: github
config:
contexts:
# Must match the check-run names from ci.yml that produce release artifacts.
# Update these if you rename the jobs.
- "test"
- "Build"
artifactProvider:
name: github
config:
artifacts:
# CI workflow uploads the npm tarball on release branches.
CI:
- npm-tarball
targets:
- name: npm
access: public
oidc: true
- name: github
config:
artifacts:
CI:
- npm-tarball
release:
exclude_commit_patterns:
- "^Release .+ v[0-9].+"