From a496fa20cdedc9996239119f9f4e9b4e5b7b718f Mon Sep 17 00:00:00 2001 From: Sonia-bit <58457302+Sonia-bit@users.noreply.github.com> Date: Thu, 26 Jan 2023 12:51:57 +0530 Subject: [PATCH 1/2] Update action.yml --- .github/workflows/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index ff7f305..f6d225c 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -20,12 +20,16 @@ jobs: local-identifier: random - name: 'checkout the repository demo' uses: 'actions/checkout@v2' + with: + node-version: 16 + cache: npm - name: 'running npm install' run: 'npm install' - name: 'running http-server' run: './node_modules/.bin/http-server -p 8099 &' - name: 'run test' run: 'node index.js' + continue-on-error: true - name: 'BrowserStackLocal Stop' uses: 'browserstack/github-actions/setup-local@master' with: From 41c8646a057a6b73d8da6a40e3a1b1b7c609bef2 Mon Sep 17 00:00:00 2001 From: Sonia-bit <58457302+Sonia-bit@users.noreply.github.com> Date: Thu, 26 Jan 2023 17:23:12 +0530 Subject: [PATCH 2/2] Delete action.yml --- .github/workflows/action.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/action.yml diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml deleted file mode 100644 index f6d225c..0000000 --- a/.github/workflows/action.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: 'BrowserStack' -on: [push, pull_request] - -jobs: - ubuntu-job: - name: 'BrowserStack Test on Ubuntu' - runs-on: ubuntu-latest - steps: - - name: 'BrowserStack Env Setup' - uses: 'browserstack/github-actions/setup-env@master' - with: - username: ${{secrets.BROWSERSTACK_USERNAME}} - access-key: ${{secrets.BROWSERSTACK_ACCESS_KEY}} - build-name: BUILD_INFO - - name: 'BrowserStackLocal Setup' - uses: 'browserstack/github-actions/setup-local@master' - with: - local-testing: start - local-logging-level: all-logs - local-identifier: random - - name: 'checkout the repository demo' - uses: 'actions/checkout@v2' - with: - node-version: 16 - cache: npm - - name: 'running npm install' - run: 'npm install' - - name: 'running http-server' - run: './node_modules/.bin/http-server -p 8099 &' - - name: 'run test' - run: 'node index.js' - continue-on-error: true - - name: 'BrowserStackLocal Stop' - uses: 'browserstack/github-actions/setup-local@master' - with: - local-testing: stop