This commit is contained in:
16
.gitea/workflows/pull_request_change.yaml
Normal file
16
.gitea/workflows/pull_request_change.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Pull request change
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "**"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: debian-bullseye
|
||||
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: verify version
|
||||
uses: https://git.thorup.us/actions/version_verify@v1
|
||||
20
.gitea/workflows/push_to_main.yaml
Normal file
20
.gitea/workflows/push_to_main.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Push to main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: debian-bullseye
|
||||
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: version tag
|
||||
uses: https://git.thorup.us/actions/version_tag@v1
|
||||
- name: npm publish
|
||||
uses: https://git.thorup.us/actions/npm_publish@v1
|
||||
with:
|
||||
npm_repo_key: ${{ secrets.NPM_REPO_KEY }}
|
||||
npm_repo_domain: "npm.thorup.us"
|
||||
Reference in New Issue
Block a user