ci: fix firefox test pin (#12036)

This commit is contained in:
Nikolay Vitkov 2024-03-04 10:41:44 +01:00 committed by GitHub
parent 0257918796
commit 99b2b4a4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,6 @@
export const testChromeBuildId = '121.0.6167.85';
export const testChromiumBuildId = '1083080';
export const testFirefoxBuildId = '124.0a1';
export const testFirefoxBuildId = '125.0a1';
export const testChromeDriverBuildId = '121.0.6167.85';
export const testChromeHeadlessShellBuildId = '121.0.6167.85';

View File

@ -5,12 +5,15 @@
*/
import fs from 'node:fs/promises';
import path from 'path';
import url from 'url';
import actions from '@actions/core';
import {testFirefoxBuildId} from '../test/build/versions.js';
const filePath = './test/src/versions.ts';
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const filePath = path.join(__dirname, '../test/src/versions.ts');
const getVersion = async () => {
// https://stackoverflow.com/a/1732454/96656