fix: resolve path on windows #1053
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: ⚡️ Continuous Releases | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 1.x | |
| merge_group: | |
| pull_request: | |
| jobs: | |
| cr: | |
| name: "⚡️ Continuous Releases" | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| - name: Use Node.js from .nvmrc | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| registry-url: "https://registry.npmjs.org" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Packages | |
| run: | | |
| pnpm run build | |
| pnpm rewrite-exports | |
| - name: Release Packages | |
| # remove the compat flag until all packages are available on npm | |
| # run: | | |
| # pnpm dlx [email protected] publish './packages/*' --template './examples/*' --compact | |
| run: | | |
| pnpm dlx [email protected] publish './packages/*' |