mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 20:55:50 +02:00
test.yml: reindent.
This commit is contained in:
90
.github/workflows/test.yml
vendored
90
.github/workflows/test.yml
vendored
@@ -11,58 +11,58 @@ jobs:
|
|||||||
node: [6, 8, 12]
|
node: [6, 8, 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 }}
|
||||||
|
|
||||||
- name: Set up Ruby 2.4
|
- name: Set up Ruby 2.4
|
||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
version: 2.4.x
|
version: 2.4.x
|
||||||
|
|
||||||
- name: Set up Bundler
|
|
||||||
run: gem install bundler
|
|
||||||
|
|
||||||
- run: ruby --version
|
- name: Set up Bundler
|
||||||
- run: gem --version
|
run: gem install bundler
|
||||||
- run: bundle --version
|
|
||||||
- run: node --version
|
|
||||||
- run: npm --version
|
|
||||||
- run: java -version
|
|
||||||
|
|
||||||
- name: Install npm dependencies
|
- run: ruby --version
|
||||||
run: npm install
|
- run: gem --version
|
||||||
|
- run: bundle --version
|
||||||
|
- run: node --version
|
||||||
|
- run: npm --version
|
||||||
|
- run: java -version
|
||||||
|
|
||||||
- name: Install bundler dependencies
|
- name: Install npm dependencies
|
||||||
run: bundle install --deployment --jobs=3 --retry=3 --clean
|
run: npm install
|
||||||
|
|
||||||
- name: Run tests
|
- name: Install bundler dependencies
|
||||||
run: npm test
|
run: bundle install --deployment --jobs=3 --retry=3 --clean
|
||||||
|
|
||||||
- name: Run bundlesize
|
- name: Run tests
|
||||||
run: npm run bundlesize
|
run: npm test
|
||||||
if: matrix.node == 8 && github.repository == 'twbs/bootstrap'
|
|
||||||
env:
|
|
||||||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
|
||||||
|
|
||||||
- name: Run BrowserStack tests
|
- name: Run bundlesize
|
||||||
run: npm run js-test-cloud
|
run: npm run bundlesize
|
||||||
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
if: matrix.node == 8 && github.repository == 'twbs/bootstrap'
|
||||||
env:
|
env:
|
||||||
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
|
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||||
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
|
|
||||||
|
|
||||||
- name: Run Link Checker
|
- name: Run BrowserStack tests
|
||||||
run: npm run check-broken-links
|
run: npm run js-test-cloud
|
||||||
if: matrix.node == 8
|
if: matrix.node == 8 && 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
|
- name: Run Link Checker
|
||||||
run: npm run coveralls
|
run: npm run check-broken-links
|
||||||
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
if: matrix.node == 8
|
||||||
env:
|
|
||||||
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
|
- name: Run Coveralls
|
||||||
|
run: npm run coveralls
|
||||||
|
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||||
|
env:
|
||||||
|
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
|
||||||
|
Reference in New Issue
Block a user