diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78e0221..04f53ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,40 @@ on: - releases/* jobs: + test-github-output: + 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 add . && git commit --allow-empty -m 'feat: Added fake file so version will be bumped'" + + - name: Generate changelog + id: changelog + uses: ./ + env: + ENV: 'dont-use-git' + EXPECTED_TAG: 'v1.5.0' + with: + github-token: ${{ secrets.github_token }} + version-file: 'test-file.json' + + - name: Show file + run: | + echo "$(