إصدار #16
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: Release | |
on: | |
workflow_dispatch: | |
jobs: | |
release: | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
registry-url: https://registry.npmjs.org | |
- name: Install dependencies | |
run: npm ci && npm i --no-save @semantic-release/changelog @semantic-release/git | |
- name: Config | |
run: npm explore @disqada/typedoc -- npm run config | |
- name: Generate types | |
run: npm explore @disqada/typedoc -- npm run types | |
- name: Clean types | |
run: npm explore @disqada/typedoc -- npm run clean | |
- name: Release | |
run: npx semantic-release | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |