release.yml
This file
Path
.github/workflows/release.yml
42 lines · 1.3 KiB · YAML
Last changed by
Update dependenciesAndrey Sitnikbefore adoption880b117
History of this fileTake it
12345678910111213141516171819202122232425262728293031323334353637383940414243name: Releaseon: push: tags: - '*'jobs: publish: runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - name: Checkout the repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Clean npm package uses: ai/clean-npm-project@3f664d1a83e04a2be737b7ad4e0b5a4e1b7dbc08 # v0.3.1 with: clean-docs: true clean-comments: true - name: Install Node.js uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 26 package-manager-cache: false - name: Publish npm package run: npm stage publish working-directory: cleaned-project/ release: runs-on: ubuntu-latest permissions: contents: write steps: - name: Checkout the repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Copy CHANGELOG.md to Releases uses: ai/copy-changelog-to-release@a6dc825c34575add2da2060796794f7b84894628 # v0.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}