1
0
Fork 0
mirror of https://github.com/MillironX/docker-names.git synced 2024-11-15 05:53:10 +00:00
docker-names/.github/workflows/publish.yml
Thomas A. Christensen II 8822e5ee5f
Add package generation workflow
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-05-09 08:59:16 -05:00

18 lines
379 B
YAML

name: Build and Publish
on:
push:
tags:
- "v[0-9]+.*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}