mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
test: fix browserstack workflow(build-name)
This commit is contained in:
parent
eb4b78ac66
commit
2715e76471
3
.github/workflows/browserstack.yml
vendored
3
.github/workflows/browserstack.yml
vendored
|
@ -26,6 +26,9 @@ jobs:
|
||||||
id: package-version
|
id: package-version
|
||||||
uses: martinbeentjes/npm-get-version-action@v1.1.0
|
uses: martinbeentjes/npm-get-version-action@v1.1.0
|
||||||
|
|
||||||
|
- name: '📝 Print build version'
|
||||||
|
run: echo ${{ steps.package-version.outputs.current-version}}-${{ github.run_id }}
|
||||||
|
|
||||||
- name: '📱 BrowserStack Env Setup' # Invokes the setup-env action
|
- name: '📱 BrowserStack Env Setup' # Invokes the setup-env action
|
||||||
uses: browserstack/github-actions/setup-env@master
|
uses: browserstack/github-actions/setup-env@master
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -5,7 +5,7 @@ module.exports = function (config) {
|
||||||
username: process.env.BROWSERSTACK_USERNAME,
|
username: process.env.BROWSERSTACK_USERNAME,
|
||||||
accessKey: process.env.BROWSERSTACK_ACCESSKEY,
|
accessKey: process.env.BROWSERSTACK_ACCESSKEY,
|
||||||
project: 'showdown',
|
project: 'showdown',
|
||||||
build: require('./package.json').version,
|
//build: require('./package.json').version,
|
||||||
name: 'Unit Testing'
|
name: 'Unit Testing'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user