noname/node_modules/noname-typings/.github/workflows/release-package.yml

21 lines
426 B
YAML

name: Node.js Package
on:
push:
tags:
- "v*"
jobs:
Publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
registry-url: https://registry.npmjs.org
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}