Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leopoldhub authored Mar 17, 2022
1 parent 7120c11 commit 7a2555c
Showing 1 changed file with 5 additions and 28 deletions.
33 changes: 5 additions & 28 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,8 @@
name: Node.js Package

on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
print_tags:
description: 'True to print to STDOUT'
required: true
type: boolean
tags:
description: 'Test scenario tags'
required: true
type: string
environment:
description: 'Environment to run tests against'
type: environment
required: true
# release:
# types: [created]
release:
types: [created]

jobs:
build:
Expand Down Expand Up @@ -62,6 +39,6 @@ jobs:
path: ./*
key: ${{ github.sha }}
- run: ls
#- run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 7a2555c

Please sign in to comment.