Skip to content

Publish Packages to npm #52

Publish Packages to npm

Publish Packages to npm #52

Workflow file for this run

name: Publish Packages to npm
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
cache: npm
scope: "@socketregistry"
- run: npm install -g npm@latest
- run: npm ci
- run: npm run update:npm:package-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run update:npm:package-access
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}