Skip to content

Commit 7d2eadc

Browse files
authored
Merge pull request #1206 from layer5io/leecalcote/ci/npm-oidc
chore: checkout repo before package versioning
2 parents 87d9fda + dd3cbbf commit 7d2eadc

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,23 @@ jobs:
2626
id-token: write # Required for OIDC trusted publishing
2727
contents: write
2828
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@v6
31+
32+
- name: Setup Node.js
33+
uses: actions/setup-node@v6
34+
with:
35+
node-version: '24'
36+
registry-url: "https://registry.npmjs.org"
37+
scope: "@sistent"
2938

3039
- name: "Set Package Version"
3140
uses: reedyuk/npm-version@1.1.1
3241
with:
3342
version: ${{ github.event.release.tag_name }}
3443

35-
- uses: actions/setup-node@v6
36-
with:
37-
node-version: '24'
38-
registry-url: "https://registry.npmjs.org"
39-
scope: "@sistent"
40-
- run: |
44+
- name: Install, Build, and Publish Package
45+
run: |
4146
npm install
4247
npm run build
4348
npm publish --provenance --access public --verbose

0 commit comments

Comments
 (0)