Browse Source

Update automerge.yml

pull/8/head
Muryor 3 years ago committed by GitHub
parent
commit
9d6db14b8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      .github/workflows/automerge.yml

15
.github/workflows/automerge.yml

@ -1,5 +1,14 @@ @@ -1,5 +1,14 @@
name: automerge
on:
# 手动触发事件
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
pull_request:
types:
- labeled
@ -33,11 +42,11 @@ jobs: @@ -33,11 +42,11 @@ jobs:
source: 'imgbot'
target: 'main'
- name: autopublish
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm version patch
- run: npm publish
env:

Loading…
Cancel
Save