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

Loading…
Cancel
Save