Release 1.1.0 #5
Workflow file for this run
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
| name: npm-release | |
| on: | |
| workflow_dispatch: | |
| release: | |
| types: | |
| - published | |
| permissions: | |
| contents: read | |
| id-token: write | |
| concurrency: | |
| group: npm-release-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Vite+ | |
| uses: voidzero-dev/setup-vp@v1 | |
| with: | |
| node-version: "24" | |
| cache: true | |
| run-install: false | |
| - name: Install dependencies | |
| run: vp install | |
| - name: Type check | |
| run: vp run typecheck | |
| - name: Lint | |
| run: vp lint | |
| - name: Test | |
| run: vp test | |
| - name: Build package | |
| run: vp pack | |
| - name: Verify published contents | |
| run: npm pack --dry-run | |
| - name: Upgrade npm | |
| run: npm i -g npm@latest | |
| - name: Publish to NPM | |
| run: npm publish |