test: fix browserstack workflow

issues/907-white-space-in-bold-and-italic-causes-problems
Estevão Soares dos Santos 2022-03-27 03:59:45 +01:00
parent f37113adca
commit fab6987e56
1 changed files with 13 additions and 13 deletions

View File

@ -10,23 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: '⚙ Setup Node.js v17.x'
uses: actions/setup-node@v2
with:
node-version: 17.x
cache: 'npm'
- name: '📦 Checkout the repository'
uses: actions/checkout@v2
- name: '🚚 Upgrade NPM'
run: npm install -g npm
- name: '🚚 Install dependencies for CI'
run: npm ci
- name: '🏗 Building src files for testing'
run: npx grunt concat:test
- name: '⚙ Setup Node.js v17.x'
uses: actions/setup-node@v2
with:
node-version: 17.x
cache: 'npm'
- name: '📖 Get current package version'
uses: martinbeentjes/npm-get-version-action@v1.1.0
@ -45,10 +39,16 @@ jobs:
local-testing: start
local-identifier: random
- name: 'Running test on BrowserStack with Karma'
- name: '🚚 Install dependencies for CI'
run: npm ci
- name: '🏗 Building src files for testing'
run: npx grunt concat:test
- name: '✅ Running test on BrowserStack with Karma'
run: npx karma start karma.browserstack.js
- name: 'BrowserStackLocal Stop' # Terminating the BrowserStackLocal tunnel connection
- name: '🛑 BrowserStackLocal Stop' # Terminating the BrowserStackLocal tunnel connection
uses: browserstack/github-actions/setup-local@master
with:
local-testing: stop