nvm/.github/workflows/release.yml

25 lines
716 B
YAML
Raw Normal View History

name: 'Tests: release process'
2020-11-21 03:28:15 +08:00
on: [pull_request, push]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-02-02 06:32:35 +08:00
- uses: actions/setup-node@v2
2020-11-21 03:28:15 +08:00
with:
node-version: "14"
- run: npm install
- name: Configure git
run: |
git config user.name github-actions
git config user.email github-actions@github.com
2020-11-28 13:44:33 +08:00
git fetch --unshallow --tags -f || git fetch --tags -f
2020-11-21 03:28:15 +08:00
- name: Attempt `make release` process
run: echo proceed | make TAG=99.99.99 release
env:
GIT_EDITOR: "sed -i '1 s/^/99.99.99 make release test/'"
- name: Ensure tag is created
run: git tag | grep v99.99.99