Skip to content

Fix publish workflow: remove registry-url to allow OIDC auth #3

Fix publish workflow: remove registry-url to allow OIDC auth

Fix publish workflow: remove registry-url to allow OIDC auth #3

Workflow file for this run

name: Publish
on:
push:
tags: ['v*']
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm config set registry https://registry.npmjs.org/
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build
- run: npx publint
- run: npx -p @arethetypeswrong/cli attw --pack . --ignore-rules no-resolution
- run: npm publish --access public