Bump postcss from 8.4.38 to 8.4.44 #2320
Workflow file for this run
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: Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
permissions: | |
pull-requests: write | |
jobs: | |
build-macos-aarch64: | |
runs-on: [self-hosted, karafriends-integration] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: aarch64-apple-darwin | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: npm install -g yarn | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: pip | |
- run: pip install ephemeral-port-reserve | |
- uses: Homebrew/actions/setup-homebrew@master | |
- uses: mozilla-actions/[email protected] | |
- name: Configure sccache | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- uses: MasterworksIO/[email protected] | |
with: | |
path: | | |
extraResources | |
key: ${{ runner.os }}-resources-${{ hashFiles('scripts/getExternalResources.mjs') }} | |
- run: yarn install --immutable | |
- run: yarn build-dev | |
env: | |
CARGO_ARGS: --target aarch64-apple-darwin | |
CARGO_INCREMENTAL: false | |
RUSTC_WRAPPER: sccache | |
- run: yarn test:wdio | |
- run: | | |
echo RENDERER_URL=$(curl -F "reqtype=fileupload" -F "[email protected]" https://catbox.moe/user/api.php) >> $GITHUB_ENV | |
echo REMOCON_CHROME_URL=$(curl -F "reqtype=fileupload" -F "[email protected]" https://catbox.moe/user/api.php) >> $GITHUB_ENV | |
echo REMOCON_SAFARI_URL=$(curl -F "reqtype=fileupload" -F "[email protected]" https://catbox.moe/user/api.php) >> $GITHUB_ENV | |
if: github.event_name == 'pull_request' | |
- uses: peter-evans/create-or-update-comment@v4 | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
# WDIO Screenshots | |
## Renderer (Electron) | |
![renderer.png](${{ env.RENDERER_URL }}) | |
## Remocon (Chrome / Pixel 6) | |
![remocon-chrome.png](${{ env.REMOCON_CHROME_URL }}) | |
## Remocon (Safari iPhone 15) | |
![remocon-Safari.png](${{ env.REMOCON_SAFARI_URL }}) | |
if: github.event_name == 'pull_request' | |
build-macos-x86_64: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: x86_64-apple-darwin | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: npm install -g yarn | |
- uses: mozilla-actions/[email protected] | |
- uses: MasterworksIO/[email protected] | |
with: | |
path: | | |
extraResources | |
key: ${{ runner.os }}-resources-${{ hashFiles('scripts/getExternalResources.mjs') }} | |
- run: yarn install --immutable | |
- run: yarn build-dev | |
env: | |
CARGO_ARGS: --target x86_64-apple-darwin | |
CARGO_INCREMENTAL: false | |
RUSTC_WRAPPER: sccache | |
build-windows-x86_64: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: x86_64-pc-windows-msvc | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- uses: mozilla-actions/[email protected] | |
- name: Configure sccache | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
buildResources | |
extraResources | |
key: ${{ runner.os }}-resources-${{ hashFiles('scripts/getExternalResources.mjs') }} | |
- run: yarn install --immutable | |
- run: yarn build-dev | |
env: | |
CARGO_ARGS: --features asio | |
CARGO_INCREMENTAL: false | |
RUSTC_WRAPPER: sccache.exe | |
SCCACHE_GHA_ENABLED: true | |
build-linux-x86_64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: x86_64-unknown-linux-gnu | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- uses: mozilla-actions/[email protected] | |
- name: Configure sccache | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
buildResources | |
extraResources | |
key: ${{ runner.os }}-resources-${{ hashFiles('scripts/getExternalResources.mjs') }} | |
- run: sudo apt-get update && sudo apt-get install -y libasound2-dev | |
- run: yarn install --immutable | |
- run: yarn build-dev | |
env: | |
CARGO_INCREMENTAL: false | |
RUSTC_WRAPPER: sccache | |
SCCACHE_GHA_ENABLED: true |