1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

test.yml: reindent.

This commit is contained in:
XhmikosR
2019-08-19 10:03:26 +03:00
parent 3a3b0a4eae
commit de94f6003f

View File

@@ -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 - name: Set up Bundler
run: gem install bundler run: gem install bundler
- run: ruby --version - run: ruby --version
- run: gem --version - run: gem --version
- run: bundle --version - run: bundle --version
- 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 install run: npm install
- name: Install bundler dependencies - name: Install bundler dependencies
run: bundle install --deployment --jobs=3 --retry=3 --clean run: bundle install --deployment --jobs=3 --retry=3 --clean
- 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 == 8 && github.repository == 'twbs/bootstrap' if: matrix.node == 8 && 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 == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push' if: matrix.node == 8 && 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 Link Checker - name: Run Link Checker
run: npm run check-broken-links run: npm run check-broken-links
if: matrix.node == 8 if: matrix.node == 8
- name: Run Coveralls - name: Run Coveralls
run: npm run coveralls run: npm run coveralls
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push' if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env: env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}" COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"