mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-07-04 19:31:49 +00:00
4f430b9785
Fixes npm warning about deprecated always-auth config by updating setup-node from v3 to v4. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
475 B
YAML
24 lines
475 B
YAML
name: npm-publish
|
|
|
|
# run when a tag is pushed or kick off manually
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: lts/*
|
|
registry-url: 'https://registry.npmjs.org'
|
|
- run: npm install
|
|
- run: npm publish --access public
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|