feat(popup): collapsible advanced replay settings, compact fit-to-dis… #16
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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Validate manifest version matches tag | |
| run: | | |
| TAG_VERSION="${GITHUB_REF_NAME#v}" | |
| MANIFEST_VERSION=$(node -e "console.log(require('./src/manifest.json').version)") | |
| if [ "$TAG_VERSION" != "$MANIFEST_VERSION" ]; then | |
| echo "Tag version ($TAG_VERSION) does not match manifest version ($MANIFEST_VERSION)" | |
| exit 1 | |
| fi | |
| - name: Build and package | |
| run: npm run package | |
| - name: Create GitHub release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: dist.zip |