perf: 🔧 Update CI #28
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
name: ci | |
on: | |
push: | |
tags: | |
- v*.*.* | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait for the tag push to complete | |
run: | | |
sleep 30 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Enable corepack and pnpm | |
run: | | |
corepack enable | |
corepack prepare pnpm@latest --activate | |
- name: Install dependencies and build | |
run: | | |
pnpm install | |
pnpm build | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
draft: false | |
prerelease: false | |
fail_on_unmatched_files: false | |
files: dist/**/* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |