GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use npm trusted publishing (OIDC) instead of NPM_TOKEN · cabify/babel-preset@a9f747e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • npm-publish.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/npm-publish.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/npm-publish.yml
+13-5Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@ on:
66

77
jobs:
88
publish-npm:
9-
uses: cabify/javascript-actions/.github/workflows/npm_publish.yml@main
10-
with:
11-
tag: ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
12-
secrets:
13-
token: ${{ secrets.NPM_TOKEN }}
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 24
18+
registry-url: https://registry.npmjs.org
19+
- run: yarn install
20+
- run: yarn build
21+
- run: npm publish --provenance --tag ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.