froth-webdriverio-framework 3.0.76 → 3.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ const PLATFORM = process.env.PLATFORM || 'browserstack';
|
|
|
9
9
|
const configFile = PLATFORM === 'browserstack' ? './ymls/browserstack/' + process.env.YML_NAME : '../ymls/saucelab/' + process.env.YML_NAME;
|
|
10
10
|
console.log('PLATFORM:', PLATFORM);
|
|
11
11
|
// Load YAML file
|
|
12
|
-
const capabilities = yaml.load(fs.readFileSync(path.join(configFile), 'utf8'));
|
|
12
|
+
const capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(),configFile)), 'utf8'));
|
|
13
13
|
const SUITE_FILE = path.resolve(process.cwd(), process.env.SUITE);
|
|
14
14
|
|
|
15
15
|
//const SUITE_FILE = process.env.SUITE;
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: npm_package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
release:
|
|
8
|
-
name: release
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- name: Checkout code
|
|
12
|
-
uses: actions/checkout@v2
|
|
13
|
-
- name: Setup Node.js
|
|
14
|
-
uses: actions/setup-node@v2
|
|
15
|
-
with:
|
|
16
|
-
node-version: '12.x'
|
|
17
|
-
registry-url: https://registry.npmjs.org
|
|
18
|
-
|
|
19
|
-
- name: Publish to npm
|
|
20
|
-
run: npm publish --access public
|
|
21
|
-
env:
|
|
22
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
|
23
|
-
|