Update test.yml

releases/v3
apr-1985 2021-11-15 09:12:31 +00:00 committed by GitHub
parent 4f6a9eceb8
commit 013f0647d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -139,6 +139,36 @@ jobs:
github-token: ${{ secrets.github_token }}
skip-commit: 'true'
test-git-no-pull:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: "./"
- run: npm ci --prod
- run: "git config --global user.email 'changelog@github.com'"
- run: "git config --global user.name 'Awesome Github action'"
- run: git tag | xargs git tag -d
- name: Create fake tag
run: "git tag -a 'v0.55.8' -m 'v0.55.8'"
- run: "git add . && git commit -m 'fix: Added fake file so version will be bumped'"
- name: Generate changelog
id: changelog
uses: ./
env:
ENV: 'dont-use-git'
EXPECTED_TAG: 'v0.55.9'
SKIPPED_COMMIT: true
with:
github-token: ${{ secrets.github_token }}
skip-commit: 'true'
skip-git-pull: 'true'
test-git-fallback:
runs-on: ubuntu-latest
steps: