Skip to content

Commit

Permalink
ci: fix firefox test pin (#12036)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Mar 4, 2024
1 parent 0257918 commit 99b2b4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/browsers/test/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
5 changes: 4 additions & 1 deletion packages/browsers/tools/updateVersions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99b2b4a

Please sign in to comment.