Bump js-yaml from 3.14.1 to 3.14.2 #3517
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: Unit tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| browser: ['chrome', 'firefox'] | |
| node-version: [22.x, 24.x,] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install latest Chrome | |
| run: | | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
| sudo apt-get update | |
| sudo apt-get --only-upgrade install google-chrome-stable | |
| google-chrome --version | |
| - name: Install Firefox | |
| uses: browser-actions/setup-firefox@latest | |
| - name: Install Browsertime | |
| run: npm ci | |
| - name: Run unit tests | |
| run: BROWSER=${{ matrix.browser }} npm test | |
| #uses: GabrielBB/xvfb-action@v1.6 | |
| #with: | |
| # run: BROWSER=${{ matrix.browser }} npm test |