From a629deb36ac2df2519de597f7ead7e8dd9fe0004 Mon Sep 17 00:00:00 2001 From: Arjun Guha Date: Wed, 31 Jul 2024 06:11:14 -0400 Subject: [PATCH 1/4] Update main.yml --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cefee388..759e3ba0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,9 +7,15 @@ on: workflow_dispatch: jobs: build: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + - name: Install Yarn + run: npm install -g yarn - name: Install dependencies run: yarn install - name: Build (TypeScript) From 57c47be366ab2240041d09fb50b17a8e371f05fb Mon Sep 17 00:00:00 2001 From: Arjun Guha Date: Wed, 31 Jul 2024 06:17:34 -0400 Subject: [PATCH 2/4] Update main.yml --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 759e3ba0..ad8e36c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,14 @@ jobs: run: npm install -g yarn - name: Install dependencies run: yarn install + - name: Update ChromeDriver + run: | + CHROME_VERSION=$(google-chrome --version | cut -d ' ' -f 3 | cut -d '.' -f 1) + CHROMEDRIVER_VERSION=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION") + curl -L -o chromedriver.zip "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" + unzip chromedriver.zip + chmod +x chromedriver + sudo mv chromedriver /usr/local/bin/ - name: Build (TypeScript) run: ./build.sh - name: Test JavaScript normalization From 1cf2058859e393e1a6617b59114662c265d7dc5c Mon Sep 17 00:00:00 2001 From: Arjun Guha Date: Wed, 31 Jul 2024 06:28:19 -0400 Subject: [PATCH 3/4] Update main.yml --- .github/workflows/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad8e36c9..c862d4a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,14 +18,10 @@ jobs: run: npm install -g yarn - name: Install dependencies run: yarn install - - name: Update ChromeDriver + - name: Update ChromeDriver and Chrome run: | - CHROME_VERSION=$(google-chrome --version | cut -d ' ' -f 3 | cut -d '.' -f 1) - CHROMEDRIVER_VERSION=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION") - curl -L -o chromedriver.zip "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" - unzip chromedriver.zip - chmod +x chromedriver - sudo mv chromedriver /usr/local/bin/ + npx @puppeteer/browsers install chrome@stable + npx @puppeteer/browsers install chromedriver@stable - name: Build (TypeScript) run: ./build.sh - name: Test JavaScript normalization From e61612815b1abfb486d4b9f5a393650c271a4d37 Mon Sep 17 00:00:00 2001 From: Arjun Guha Date: Wed, 31 Jul 2024 07:10:22 -0400 Subject: [PATCH 4/4] x --- .github/workflows/main.yml | 4 ---- stopify/package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c862d4a0..759e3ba0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,10 +18,6 @@ jobs: run: npm install -g yarn - name: Install dependencies run: yarn install - - name: Update ChromeDriver and Chrome - run: | - npx @puppeteer/browsers install chrome@stable - npx @puppeteer/browsers install chromedriver@stable - name: Build (TypeScript) run: ./build.sh - name: Test JavaScript normalization diff --git a/stopify/package.json b/stopify/package.json index 043f01b3..499df8ed 100644 --- a/stopify/package.json +++ b/stopify/package.json @@ -20,7 +20,7 @@ "@types/tmp": "0.0.33", "@types/webpack": "^3.0.5", "browserify": "^16.1.0", - "chromedriver": "87.0.5", + "chromedriver": "126.0.6478.182", "geckodriver": "^1.16.0", "glob": "^7.1.1", "jest": "^24.7.1",