1
0
Fork 0
mirror of https://github.com/archtechx/wire-replace.git synced 2025-12-12 07:34:02 +00:00
wire-replace/.github/workflows/publish.yaml
2020-12-30 22:29:11 +01:00

17 lines
384 B
YAML

name: Publish Node.js package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}