fix: remove video mappings from cropped previews #27
This file contains 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: Pre-release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- src/** | |
- .github/workflows/pre-release.yml | |
permissions: | |
contents: write | |
jobs: | |
build-and-release: | |
name: Build & Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run ESLint on src directory | |
run: npx eslint src | |
- name: Build main.js | |
run: npm run build | |
- name: Delete previous pre-release | |
run: gh release delete --yes --cleanup-tag bleeding-edge | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create a new pre-release | |
uses: softprops/action-gh-release@v1 | |
with: | |
prerelease: true | |
tag_name: bleeding-edge | |
body: Pre-release with the latest commits | |
files: main.js |