Skip to content

Commit ad341fa

Browse files
committed
fix: npm provenance (#37)
Enable OIDC for trusted publishing and npm provenance.
1 parent e3b739d commit ad341fa

4 files changed

Lines changed: 5233 additions & 7740 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
name: CD Pipeline
22

33
on:
4-
workflow_run:
5-
workflows: ["CI Pipeline"]
6-
types:
7-
- completed
8-
branches:
4+
push:
5+
branches:
96
- main
107

118
jobs:
129
publish:
13-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1410
runs-on: ubuntu-latest
1511
permissions:
1612
contents: write

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: CI Pipeline
22

33
on:
44
push:
5-
branches:
6-
- main
75
pull_request:
86
branches:
97
- main

0 commit comments

Comments
 (0)