Skip to content

create new defineable methods to customize behaviour of NestedStateMachine #380

create new defineable methods to customize behaviour of NestedStateMachine

create new defineable methods to customize behaviour of NestedStateMachine #380

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 14.5.0
- name: Compile TypeScript
run: npm install && npm run build
deploy:
runs-on: ubuntu-latest
needs: [build]
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 14.5.0
- name: Compile TypeScript
run: npm install && npm run build
- name: Publish if version has been updated
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}