fix: off by one errors in box and field size calculations (#498) #44
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 | |
| - next | |
| permissions: | |
| contents: read | |
| env: | |
| PUBLISH_MODE: true | |
| concurrency: | |
| group: 'release' | |
| # Prevent semantic-release from being cancelled abruptly | |
| cancel-in-progress: false | |
| jobs: | |
| release: | |
| if: github.repository == 'gpac/mp4box.js' | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| name: release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ssh-key: ${{ secrets.DEPLOY_KEY }} | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: npm | |
| node-version: lts/* | |
| - run: npm clean-install | |
| - run: npm install --global corepack@latest | |
| - run: corepack npm audit signatures | |
| - run: npm run build | |
| - run: npx semantic-release@24 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |