Skip to content

Update npm-publish.yml #6

Update npm-publish.yml

Update npm-publish.yml #6

Workflow file for this run

name: Push to master checks
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
hacs:
runs-on: "ubuntu-latest"
name: TSC and release
steps:
- name: Check out the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: npm install
- run: tsc
- name: Automatic GitHub Release
uses: marcokreeft87/github-action-npm-release@1.0.0
- name: Print release output
if: ${{ steps.release.outputs.released == 'true' }}
run: echo Release ID ${{ steps.release.outputs.release_id }}