Skip to content

Commit 937247f

Browse files
authored
fix: Yaml was incorrect (#56)
Quick fix to uploading example yaml spacing.
1 parent 562ac0c commit 937247f

File tree

1 file changed

+49
-49
lines changed

1 file changed

+49
-49
lines changed

.github/workflows/upload_example_stats.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -47,39 +47,39 @@ jobs:
4747
- name: Install dependencies
4848
run: pnpm install
4949

50-
build-and-upload-stats-data:
51-
name: Build and upload ${{ matrix.example }} stats data
52-
runs-on: ubuntu-latest
53-
needs: install
54-
strategy:
55-
fail-fast: false
56-
matrix:
57-
example: [
58-
"next-js",
59-
"rollup",
60-
"vite",
61-
"webpack",
62-
]
63-
steps:
64-
- name: Checkout
65-
uses: actions/checkout@v4
66-
with:
67-
fetch-depth: 0
68-
- name: Setup node
69-
uses: actions/setup-node@v3
70-
with:
71-
node-version: 18
50+
build-and-upload-stats-data:
51+
name: Build and upload ${{ matrix.example }} stats data
52+
runs-on: ubuntu-latest
53+
needs: install
54+
strategy:
55+
fail-fast: false
56+
matrix:
57+
example: [
58+
"next-js",
59+
"rollup",
60+
"vite",
61+
"webpack",
62+
]
63+
steps:
64+
- name: Checkout
65+
uses: actions/checkout@v4
66+
with:
67+
fetch-depth: 0
7268

73-
- name: Install pnpm
74-
uses: pnpm/action-setup@v2
75-
with:
76-
version: 8
77-
run_install: false
69+
- name: Setup node
70+
uses: actions/setup-node@v3
71+
with:
72+
node-version: 18
7873

79-
- name: Get pnpm store directory
80-
shell: bash
81-
run: |
82-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
74+
- name: Install pnpm
75+
uses: pnpm/action-setup@v2
76+
with:
77+
version: 8
78+
run_install: false
79+
- name: Get pnpm store directory
80+
shell: bash
81+
run: |
82+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
8383
8484
- name: Cache node_modules
8585
id: cache-node-modules
@@ -92,24 +92,24 @@ build-and-upload-stats-data:
9292
restore-keys: |
9393
${{ runner.os }}-${{ env.cache-name }}-
9494
95-
- name: Install dependencies
96-
run: pnpm install
95+
- name: Install dependencies
96+
run: pnpm install
9797

98-
- name: Build plugins
99-
run: pnpm run build
98+
- name: Build plugins
99+
run: pnpm run build
100100

101-
- name: Install built plugins
102-
run: pnpm install
101+
- name: Install built plugins
102+
run: pnpm install
103103

104-
- name: Build ${{ matrix.example }} app
105-
working-directory: ./examples/${{ matrix.example }}
106-
env:
107-
NEXT_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
108-
NEXT_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
109-
ROLLUP_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
110-
ROLLUP_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
111-
VITE_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
112-
VITE_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
113-
WEBPACK_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
114-
WEBPACK_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
115-
run: pnpm run build
104+
- name: Build ${{ matrix.example }} app
105+
working-directory: ./examples/${{ matrix.example }}
106+
env:
107+
NEXT_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
108+
NEXT_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
109+
ROLLUP_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
110+
ROLLUP_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
111+
VITE_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
112+
VITE_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
113+
WEBPACK_UPLOAD_TOKEN: ${{ env.CODECOV_ORG_TOKEN_STAGING }}
114+
WEBPACK_API_URL: ${{ env.CODECOV_STAGING_API_URL }}
115+
run: pnpm run build

0 commit comments

Comments
 (0)