fix: prioritize current frame for single-LOD case (typical volume ren… #92
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| if: ${{ ! contains(github.event.head_commit.message, '[skip ci]') }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: | | |
| npm ci | |
| npx playwright install chromium | |
| - name: Compile TypeScript | |
| run: npm run compile | |
| - name: Lint | |
| run: | | |
| npm run lint | |
| npm run format-check | |
| - name: Run tests with coverage | |
| run: npm run test-with-coverage | |
| - name: Build | |
| run: npm run build | |
| - name: Generate token | |
| id: generate_token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.GH_ACTIONS_HELPER_APP_ID }} | |
| private-key: ${{ secrets.GH_ACTIONS_HELPER_PK }} | |
| - name: Release | |
| env: | |
| GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | |
| run: npm exec semantic-release |