History

chore: switch npm publish to trusted publishing (OIDC)

Rhys Sullivan committed 7 months ago

Commit d8790f01 parent 69c18482 files · +0 −5Browse files

Unified · Split

2 files
  1. .github/workflows/publish-executor-package.yml +0 −2
  2. .github/workflows/release.yml +0 −3
.github/workflows/publish-executor-package.yml+0−2
@@ -57,8 +57,6 @@ jobs: · 56 unmodified lines
57 - name: Publish package and create release57 - name: Publish package and create release
58 env:58 env:
59 GH_TOKEN: ${{ github.token }}59 GH_TOKEN: ${{ github.token }}
60 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
62 RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}60 RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}
63 run: |61 run: |
64 export GITHUB_REF_TYPE=tag62 export GITHUB_REF_TYPE=tag
.github/workflows/release.yml+0−3
@@ -58,9 +58,6 @@ jobs: · 57 unmodified lines
58 58
59 - name: Publish @executor-js library packages59 - name: Publish @executor-js library packages
60 if: steps.changesets.outputs.hasChangesets == 'false'60 if: steps.changesets.outputs.hasChangesets == 'false'
61 env:
62 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
63 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
64 run: bun run release:publish:packages61 run: bun run release:publish:packages
65 62
66 - name: Detect release version change63 - name: Detect release version change

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t