Skip to content

satisfy typescript

satisfy typescript #9

Workflow file for this run

name: npm-publish
on:
push:
branches:
- master
- dev
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 12.0.0
- name: Install dependencies
run: npm install
- name: Publish if version has been updated
uses: endel/npm-publish-action@master
with:
tag_name: "%s"
tag_message: "v%s"
commit_pattern: "^bump (\\S+)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}