Skip to content

Commit d99343e

Browse files
chore(ci): update npm auth (#24)
1 parent 0161c65 commit d99343e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
- "*.x"
8-
# - "workflow"
8+
- "workflow"
99
paths-ignore:
1010
- "**.md"
1111

@@ -29,17 +29,17 @@ on:
2929
type: boolean
3030
default: true
3131

32+
permissions:
33+
id-token: write # required for OIDC
34+
contents: write # required for tag push
35+
3236
jobs:
3337
package:
3438
name: Package
3539
uses: sketch7/.github/.github/workflows/node-lib.yml@node-libs-v1
3640
with:
3741
package-manager: "pnpm"
38-
node-version: ""
39-
node-version-file: "package.json"
4042
publishable: ${{ contains(fromJSON('["develop", "master", "workflow"]'), github.ref_name) || endsWith(github.ref_name, '.x') || github.event.inputs.publish == 'true' }}
4143
force-preid: ${{ github.event.inputs.force-prerelease == 'true' }}
4244
preid-branches: "master,workflow"
4345
version-replace-glob: "libs/**/{package.json,version.ts}"
44-
secrets:
45-
npm-auth-token: ${{ secrets.NPM_KEY }}

0 commit comments

Comments
 (0)