Merge pull request #2576 from MahtabBukhari/Add-mute-and-playback-spe… #1061
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: Generate Build Files and Update version # | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
yarn-build-and-update-version: | |
name: build | |
runs-on: | |
- ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- name: Prettier, Build and Version | |
run: | | |
git config user.name 'Github Actions' | |
git config user.email [email protected] | |
yarn install | |
yarn run format | |
git add ./src || true | |
git commit -m "ci: prettier format" || echo -n | |
git push --set-upstream origin master | |
# npm version patch -m "ci: bump version to %s" | |
# git push | |
CI=false yarn install && CI=false yarn run build | |
git add ./build -f | |
git commit -m "ci: automatic build fixes" || echo -n | |
git push --set-upstream origin master |