Skip to content

Commit 24ffd52

Browse files
author
Mik
committed
chore: fix GA yaml bad indent
1 parent af71b75 commit 24ffd52

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
name: Build and Deploy
22
on:
3-
push:
4-
branches:
3+
push:
4+
branches:
55
- master
66
jobs:
77
build-and-deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
12-
with:
13-
persist-credentials: false
10+
- name: Checkout
11+
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
12+
with:
13+
persist-credentials: false
1414

15-
- name: Use Node.js
16-
uses: actions/setup-node@v1
17-
with:
18-
node-version: '12.x'
15+
- name: Use Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: "12.x"
1919

20-
- name: Install dependencies
21-
run: yarn install --frozen-lockfile
22-
23-
- name: Test & Coverage
24-
run: yarn coverage --updateSnapshot
20+
- name: Install dependencies
21+
run: yarn install --frozen-lockfile
2522

26-
- name: Build
27-
run: yarn build-storybook
28-
29-
- name: Deploy
30-
uses: JamesIves/github-pages-deploy-action@releases/v3
31-
with:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
BRANCH: gh-pages # The branch the action should deploy to.
34-
FOLDER: public # The folder the action should deploy.
23+
- name: Test & Coverage
24+
run: yarn coverage --updateSnapshot
3525

36-
- name: Codecov
37-
run: bash <(curl -s https://codecov.io/bash) -f './coverage/clover.xml' -t ${{ secrets.CODECOV_TOKEN }} || echo 'Codecov failed to upload'
26+
- name: Build
27+
run: yarn build-storybook
3828

29+
- name: Deploy
30+
uses: JamesIves/github-pages-deploy-action@releases/v3
31+
with:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
BRANCH: gh-pages # The branch the action should deploy to.
34+
FOLDER: public # The folder the action should deploy.
35+
36+
- name: Codecov
37+
run: bash <(curl -s https://codecov.io/bash) -f './coverage/clover.xml' -t ${{ secrets.CODECOV_TOKEN }} || echo 'Codecov failed to upload'

0 commit comments

Comments
 (0)