chore: bump version to 8.9.0 #104
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: Build | |
| on: | |
| push: | |
| branches: [ "v*", "master" ] | |
| tags: [ "v*" ] | |
| pull_request: | |
| branches: [ "v*", "master" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build Peacock | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6.0.0 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: yarn | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Build Modules | |
| run: yarn build | |
| - name: Optimize | |
| run: yarn optimize | |
| - name: Download Node.js (Windows) | |
| run: | | |
| curl https://nodejs.org/dist/$(cat .nvmrc)/node-$(cat .nvmrc)-win-x64.zip -o node.zip | |
| unzip node.zip | |
| mkdir nodedist | |
| cp node-$(cat .nvmrc)-win-x64/node.exe nodedist/node.exe | |
| cp node-$(cat .nvmrc)-win-x64/LICENSE nodedist/LICENSE | |
| - name: Assemble Full (Windows) | |
| run: ./packaging/ciAssemble.sh | |
| - name: Assemble Linux | |
| run: ./packaging/ciAssemble.sh linux | |
| - name: Upload Peacock Release | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0 | |
| with: | |
| name: Peacock-Release | |
| path: Peacock-v*.zip | |
| - name: Upload SourceMap | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0 | |
| with: | |
| name: SourceMap | |
| path: chunk0.js.map |