Skip to content

feat: allow templating of registry and name #238

feat: allow templating of registry and name

feat: allow templating of registry and name #238

Workflow file for this run

name: Test + Release
on:
pull_request:
branches:
- main
push:
branch:
- main
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: npm install
release:
name: release
needs: test
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- name: Publish
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: 'Dependant Bot'
GIT_AUTHOR_EMAIL: 'release-bot@codedependant.net'
GIT_COMMITTER_NAME: 'Dependant Bot'
GIT_COMMITTER_EMAIL: 'release-bot@codedependant.net'
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}