Skip to content

Commit 947d43c

Browse files
Merge pull request #216 from FusionAuth/lyle/and-then
[&] to [and] bc html
2 parents e8965f9 + bcf73b7 commit 947d43c

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.github/workflows/deploy.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,21 @@ jobs:
7777
--output text | \
7878
jq -r 'to_entries[] | [.key, .value] | @tsv')
7979
80-
- name: create npmrc
81-
if: inputs.command == 'release' || inputs.command == 'publish'
82-
run: |
83-
echo "color=false" > ~/.npmrc
84-
echo "//registry.npmjs.org/:_authToken=${{ env.API_KEY }}" >> ~/.npmrc
85-
chmod 600 ~/.npmrc
80+
- name: setup node for publishing
81+
if: inputs.command == 'publish'
82+
uses: actions/setup-node@v4
83+
with:
84+
node-version: '20'
85+
registry-url: 'https://registry.npmjs.org' # This generates the necessary .npmrc
8686

8787
- name: release to svn
8888
if: inputs.command == 'release'
8989
run: sb release
9090

9191
- name: publish to npmjs
9292
if: inputs.command == 'publish'
93-
run: sb publish
93+
run: |
94+
npm install -g npm@latest
95+
npm publish --provenance --access public
96+
env:
97+
NODE_AUTH_TOKEN: "sigstore" # npm uses OIDC when this is any non-empty string

build.savant

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019-2024, FusionAuth, All Rights Reserved
2+
* Copyright (c) 2019-2025, FusionAuth, All Rights Reserved
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -105,7 +105,7 @@ target(name: "test", description: "Runs the tests", dependsOn: ["compile"]) {
105105
}
106106

107107
target(name: "publish", description: "Publish in NPM", dependsOn: ["clean", "int"]) {
108-
def npmPublish = 'npm publish --access=public'.execute()
108+
def npmPublish = 'npm publish --access=public --provenance'.execute()
109109
npmPublish.consumeProcessOutput(System.out, System.err)
110110
}
111111

src/FusionAuthClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8239,7 +8239,7 @@ export interface ExternalJWTIdentityProvider extends BaseIdentityProvider<Extern
82398239
* <p>
82408240
* This also provides some helpers for FIPS things such as password length requirements.
82418241
*
8242-
* @author Brian Pontarelli & Daniel DeGroff
8242+
* @author Brian Pontarelli and Daniel DeGroff
82438243
*/
82448244
export interface FIPS {
82458245
}

0 commit comments

Comments
 (0)