Skip to content

Commit 891e7ee

Browse files
chore: workflow changes
1 parent e00e89e commit 891e7ee

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and Analyze
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
env:
12+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
13+
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: npm ci
20+
21+
- name: Build project with bundle analysis
22+
run: npm run build

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,5 @@ jobs:
6767
git remote -v
6868
pnpm release:tag --dryRun
6969
70-
codecov-step:
71-
name: Codecov
72-
runs-on: ubuntu-latest
73-
steps:
74-
- name: Upload coverage to Codecov
75-
run: pnpm codecov
76-
env:
77-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN || ''}}
70+
71+

0 commit comments

Comments
 (0)