mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
try: fix github browserstack action
This commit is contained in:
parent
f85d82fb23
commit
c45d66d974
10
.github/workflows/browserstack.yml
vendored
10
.github/workflows/browserstack.yml
vendored
|
@ -30,12 +30,6 @@ jobs:
|
||||||
- name: '🚚 Upgrade NPM'
|
- name: '🚚 Upgrade NPM'
|
||||||
run: npm install -g npm
|
run: npm install -g npm
|
||||||
|
|
||||||
- name: '🚚 install grunt-cli'
|
|
||||||
run: npm install -g grunt-cli --force
|
|
||||||
|
|
||||||
- name: '🚚 install karma globally'
|
|
||||||
run: npm install -g karma --force
|
|
||||||
|
|
||||||
- name: 'Use Node.js 17.x'
|
- name: 'Use Node.js 17.x'
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
@ -46,10 +40,10 @@ jobs:
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: 'Concatenate src files for testing'
|
- name: 'Concatenate src files for testing'
|
||||||
run: grunt concat:test
|
run: npx grunt concat:test
|
||||||
|
|
||||||
- name: 'Running test on BrowserStack with Karma'
|
- name: 'Running test on BrowserStack with Karma'
|
||||||
run: karma start karma.browserstack.js
|
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
|
uses: browserstack/github-actions/setup-local@master
|
||||||
|
|
Loading…
Reference in New Issue
Block a user