mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Reindent workflows/test.yml.
This commit is contained in:
parent
b749e12c2c
commit
cd20ef09f4
60
.github/workflows/test.yml
vendored
60
.github/workflows/test.yml
vendored
@ -11,40 +11,40 @@ jobs:
|
|||||||
node: [8, 10, 12]
|
node: [8, 10, 12]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
fetch-depth: 3
|
fetch-depth: 3
|
||||||
|
|
||||||
- name: Set Node.js version
|
- name: Set Node.js version
|
||||||
uses: actions/setup-node@v1.1.0
|
uses: actions/setup-node@v1.1.0
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.node }}
|
version: ${{ matrix.node }}
|
||||||
|
|
||||||
- run: node --version
|
- run: node --version
|
||||||
- run: npm --version
|
- run: npm --version
|
||||||
- run: java -version
|
- run: java -version
|
||||||
|
|
||||||
- name: Install npm dependencies
|
- name: Install npm dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
- name: Run bundlesize
|
- name: Run bundlesize
|
||||||
run: npm run bundlesize
|
run: npm run bundlesize
|
||||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap'
|
if: matrix.node == 10 && github.repository == 'twbs/bootstrap'
|
||||||
env:
|
env:
|
||||||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: Run BrowserStack tests
|
- name: Run BrowserStack tests
|
||||||
run: npm run js-test-cloud
|
run: npm run js-test-cloud
|
||||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||||
env:
|
env:
|
||||||
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
|
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
|
||||||
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
|
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
|
||||||
|
|
||||||
- name: Run Coveralls
|
- name: Run Coveralls
|
||||||
run: npm run coveralls
|
run: npm run coveralls
|
||||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||||
env:
|
env:
|
||||||
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
|
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user