@actions/attest: convert to an ESM module (#2278)

This commit is contained in:
Daniel Kennedy
2026-01-29 15:19:39 -05:00
committed by GitHub
parent ae29a2751b
commit 0be0a6ef89
9 changed files with 195 additions and 275 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import {attest, AttestOptions} from './attest'
import {getIDTokenClaims} from './oidc'
import type {Attestation, Predicate} from './shared.types'
import {attest, AttestOptions} from './attest.js'
import {getIDTokenClaims} from './oidc.js'
import type {Attestation, Predicate} from './shared.types.js'
const SLSA_PREDICATE_V1_TYPE = 'https://slsa.dev/provenance/v1'
const GITHUB_BUILD_TYPE = 'https://actions.github.io/buildtypes/workflow/v1'