Repository navigation
chore(deps-dev): bump the npm-minor-patch group with 2 updates #95
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest, ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 | |
| with: | |
| node-version: '22' | |
| cache: npm | |
| - name: Set up npm | |
| run: npm install --global npm@11.16.0 --ignore-scripts | |
| - name: Install dependencies | |
| run: npm ci --strict-allow-scripts | |
| - name: Audit dependencies | |
| run: npm run audit | |
| - name: Start Xvfb (Ubuntu only) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y xvfb | |
| export DISPLAY=:99 | |
| sudo Xvfb :99 -screen 0 1920x1080x24 > /dev/null 2>&1 & | |
| - name: Verify | |
| run: npm run check | |
| env: | |
| DISPLAY: ':99.0' |