chore(deps-dev): Bump the test group across 1 directory with 3 updates #340
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: [main, develop, "fix/*"] | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.NX_CACHE_AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.NX_CACHE_AWS_SECRET_ACCESS_KEY }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v4 | |
- run: | | |
echo "Nx base: ${{ env.NX_BASE }}" | |
echo "Git head: ${{ env.NX_HEAD }}" | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Disable TCP/UDP Offloading | |
shell: bash | |
run: | | |
if [ "$RUNNER_OS" == "Linux" ]; then | |
sudo ethtool -K eth0 tx off rx off | |
exit 0 | |
elif [ "$RUNNER_OS" == "macOS" ]; then | |
sudo sysctl -w net.link.generic.system.hwcksum_tx=0 | |
sudo sysctl -w net.link.generic.system.hwcksum_rx=0 | |
exit 0 | |
else | |
echo "$RUNNER_OS not supported" | |
exit 0 | |
fi | |
- name: Install repo dependencies | |
run: yarn install --network-timeout 1000000 --forzen-lockfile | |
- name: Build the Dev Suite | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
run: yarn nx affected --target=build --parallel=1 --exclude=pocket --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} |