mirror of
https://github.com/MillironX/docker-names.git
synced 2024-11-15 05:53:10 +00:00
Thomas A. Christensen II
38799ef3a3
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
21 lines
480 B
YAML
21 lines
480 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
|
|
registry-url: https://npm.pkg.github.com
|
|
scope: "@MillironX"
|
|
- run: npm install
|
|
- run: npm test
|
|
- run: npm run build
|
|
- run: npm publish
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|