chore(release): 3.0.0-rc.0 #68
Workflow file for this run
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
# do a gh release after ci user has pushed the tag to main | |
name: cut a gh release | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
gh-release: | |
# if: "contains(github.event.head_commit.author.name, 'wdi5 bot')" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: "**/package-lock.json" | |
- run: npm ci | |
- run: npm run build | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "cjs/**/*,esm/**/*,client-side-js/**/*" | |
bodyFile: "CHANGELOG.md" | |
token: ${{ secrets.GITHUB_TOKEN }} |