Skip to content

Bump the npm_and_yarn group across 1 directory with 2 updates #226

Bump the npm_and_yarn group across 1 directory with 2 updates

Bump the npm_and_yarn group across 1 directory with 2 updates #226

Workflow file for this run

name: Node CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node.js 18.x
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 18.x
- name: Set CHROME_BIN (macOS)
if: startsWith(matrix.os, 'macos')
run: echo "CHROME_BIN=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" >> $GITHUB_ENV
- name: Install Chromium runtime deps (Linux)
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
common="libxkbcommon0 libgbm1 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libnss3 libnspr4 libx11-6 libx11-xcb1 libxext6 libxshmfence1 libdrm2"
if apt-cache show libatk1.0-0 >/dev/null 2>&1; then
sudo apt-get install -y libatk1.0-0 libatk-bridge2.0-0 libcups2 libasound2 libatspi2.0-0 libglib2.0-0 libgtk-3-0 $common
else
sudo apt-get install -y libatk1.0-0t64 libatk-bridge2.0-0t64 libcups2t64 libasound2t64 libatspi2.0-0t64 libglib2.0-0t64 libgtk-3-0t64 $common
fi
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true