Skip to content

chore(deps): bump @types/node from 20.6.2 to 20.12.10 #1540

chore(deps): bump @types/node from 20.6.2 to 20.12.10

chore(deps): bump @types/node from 20.6.2 to 20.12.10 #1540

Workflow file for this run

name: 'build-test'
on:
pull_request:
push:
branches-ignore:
- master
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm test
- run: pnpm build
- run: pnpm package
- uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist/
test:
needs: [build]
strategy:
matrix:
os: [ubuntu, macos, windows]
version: ["", 1295939, 120, dev]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/download-artifact@v4
with:
name: dist
- name: Install Google Chrome
uses: ./
with:
chrome-version: ${{ matrix.version }}
id: setup-chrome
- if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
"${{ steps.setup-chrome.outputs.chrome-path }}" --version
- if: runner.os == 'Windows'
run: |
(Get-Item (Get-Command "${{ steps.setup-chrome.outputs.chrome-path }}").Source).VersionInfo.ProductVersion
test-container:
needs: [build]
strategy:
fail-fast: false
matrix:
container:
- fedora
- debian
- opensuse/leap
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- uses: actions/download-artifact@v4
with:
name: dist
- name: Install action dependencies
run: apt-get update && apt-get install -y unzip
if: ${{ matrix.container == 'debian' || matrix.container == 'ubuntu' || matrix.container == 'linuxmintd/mint21-amd64' }}
- name: Install action dependencies
run: yum install --assumeyes unzip
if: ${{ matrix.container == 'redhat/ubi9' || matrix.container == 'oraclelinux:9' || matrix.container == 'fedora' }}
- name: Install action dependencies
run: zypper install --no-confirm unzip
if: ${{ matrix.container == 'opensuse/leap' || matrix.container == 'registry.suse.com/bci/bci-base:15.5' }}
# Override GITHUB_PATH by the current PATH to prevent the issue discussed in https://github.com/actions/runner/issues/3210
- run: echo "$PATH" >>"$GITHUB_PATH"
if: ${{ matrix.container == 'opensuse/leap' || matrix.container == 'registry.suse.com/bci/bci-base:15.5' }}
- name: Install Google Chrome
uses: ./
with:
chrome-version: 120
install-dependencies: true
id: setup-chrome
- run: |
"${{ steps.setup-chrome.outputs.chrome-path }}" --version