This repository was archived by the owner on Dec 12, 2025. It is now read-only.
Publish v1.0.9 #69
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: Publish | |
| on: | |
| push: | |
| tags: [v*.*.*] | |
| concurrency: | |
| group: ${{ github.workflow }} ${{ github.ref_name }} | |
| jobs: | |
| publish: | |
| if: github.ref_type == 'tag' && github.actor == 'phuctm97' && github.triggering_actor == 'phuctm97' | |
| name: ${{ github.workflow }} ${{ github.ref_name }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: pnpm | |
| node-version-file: .nvmrc | |
| registry-url: https://registry.npmjs.org | |
| - uses: denoland/setup-deno@v2 | |
| - run: pnpm install | |
| - run: pnpm exec nx run-many -t typecheck lint build | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=4096 | |
| - run: pnpm exec nx run-many -t prepare-release-publish | |
| - run: pnpm exec nx release publish | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| NPM_CONFIG_PROVENANCE: true | |
| - run: pnpm exec nx run-many -t jsr-release-publish |