Merge pull request #228 from PoligonSa/dev #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Latest | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
publish: | ||
name: Release | ||
uses: ./.github/workflows/publish-common.yml | ||
with: | ||
with-update-package-lock: true | ||
cmd: 'npm run release:rc' | ||
secrets: | ||
gh_token: ${{ secrets.GH_TOKEN }} | ||
npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }} | ||
release-notes: | ||
name: Build Changelog | ||
needs: | ||
- publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
- name: Install | ||
run: npm ci --no-audit | ||
- name: Build Changelog | ||
id: github_release | ||
uses: mikepenz/[email protected] | ||
with: | ||
fromTag: ${{ git merge-base --fork-point origin/main }} | ||
Check failure on line 44 in .github/workflows/publish-latest.yml GitHub Actions / Publish LatestInvalid workflow file
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
- name: Changelog | ||
run: echo "${{ steps.github_release.outputs.changelog }}" | ||