Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
cd20ef09
Commit
cd20ef09
authored
5 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Reindent workflows/test.yml.
parent
b749e12c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/test.yml
+37
-37
.github/workflows/test.yml
with
37 additions
and
37 deletions
+37
-37
.github/workflows/test.yml
+
37
-
37
View file @
cd20ef09
...
...
@@ -11,40 +11,40 @@ jobs:
node
:
[
8
,
10
,
12
]
steps
:
-
uses
:
actions/checkout@master
with
:
fetch-depth
:
3
-
name
:
Set Node.js version
uses
:
actions/setup-node@v1.1.0
with
:
version
:
${{ matrix.node }}
-
run
:
node --version
-
run
:
npm --version
-
run
:
java -version
-
name
:
Install npm dependencies
run
:
npm ci
-
name
:
Run tests
run
:
npm test
-
name
:
Run bundlesize
run
:
npm run bundlesize
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap'
env
:
BUNDLESIZE_GITHUB_TOKEN
:
"
${{
secrets.BUNDLESIZE_GITHUB_TOKEN
}}"
-
name
:
Run BrowserStack tests
run
:
npm run js-test-cloud
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env
:
BROWSER_STACK_ACCESS_KEY
:
"
${{
secrets.BROWSER_STACK_ACCESS_KEY
}}"
BROWSER_STACK_USERNAME
:
"
${{
secrets.BROWSER_STACK_USERNAME
}}"
-
name
:
Run Coveralls
run
:
npm run coveralls
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env
:
COVERALLS_REPO_TOKEN
:
"
${{
secrets.COVERALLS_REPO_TOKEN
}}"
-
uses
:
actions/checkout@master
with
:
fetch-depth
:
3
-
name
:
Set Node.js version
uses
:
actions/setup-node@v1.1.0
with
:
version
:
${{ matrix.node }}
-
run
:
node --version
-
run
:
npm --version
-
run
:
java -version
-
name
:
Install npm dependencies
run
:
npm ci
-
name
:
Run tests
run
:
npm test
-
name
:
Run bundlesize
run
:
npm run bundlesize
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap'
env
:
BUNDLESIZE_GITHUB_TOKEN
:
"
${{
secrets.BUNDLESIZE_GITHUB_TOKEN
}}"
-
name
:
Run BrowserStack tests
run
:
npm run js-test-cloud
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env
:
BROWSER_STACK_ACCESS_KEY
:
"
${{
secrets.BROWSER_STACK_ACCESS_KEY
}}"
BROWSER_STACK_USERNAME
:
"
${{
secrets.BROWSER_STACK_USERNAME
}}"
-
name
:
Run Coveralls
run
:
npm run coveralls
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env
:
COVERALLS_REPO_TOKEN
:
"
${{
secrets.COVERALLS_REPO_TOKEN
}}"
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets