This repository was archived by the owner on Jun 14, 2025. It is now read-only.
fix(docs): remove redundant clutter separators #22
This file contains hidden or 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
| # .github/workflows/release.yml: Configurates the release workflow. | |
| --- | |
| name: release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout-code | |
| uses: actions/[email protected] | |
| - name: setup-node | |
| uses: actions/[email protected] | |
| with: | |
| node-version: '20.x' | |
| - name: cache-node-modules | |
| uses: actions/[email protected] | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: install-dependencies | |
| run: npm ci | |
| - name: release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: npx semantic-release |