Skip to content

fix: remove the empty string field before the signature generator and… #12

fix: remove the empty string field before the signature generator and…

fix: remove the empty string field before the signature generator and… #12

Workflow file for this run

name: Release new version
on:
push:
branches:
- main
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '**.md'
- 'examples/**'
workflow_dispatch:
jobs:
ci:
name: CI
uses: ./.github/workflows/ci.yaml
secrets: inherit
check-dist:
name: Check dist/
uses: ./.github/workflows/check-dist.yaml
secrets: inherit
release:
environment:
name: github
needs: [ci, check-dist]
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: github-app
with:
app-id: ${{ vars.TGHA_APP_ID }}
private-key: ${{ secrets.TGHA_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.github-app.outputs.token }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Semantic Version
env:
GITHUB_TOKEN: ${{ steps.github-app.outputs.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release