Skip to content

Commit 6944168

Browse files
chore: update CI
1 parent 3a5460a commit 6944168

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

Diff for: .circleci/config.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 2.1
2+
orbs:
3+
codecov: codecov/codecov@3
4+
5+
jobs:
6+
build:
7+
docker:
8+
- image: cimg/node:current
9+
steps:
10+
- checkout
11+
- run:
12+
name: Install dependencies
13+
command: npm install
14+
- run:
15+
name: Run tests and collect coverage
16+
command: npm run test
17+
- codecov/upload
18+
19+
workflow:
20+
version: 2.1
21+
build-test:
22+
jobs:
23+
- build

Diff for: .github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

Diff for: .github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Workflow for Codecov example-typescript
2+
on: [push, pull_request]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Set up Node 18
10+
uses: actions/setup-node@v3
11+
with:
12+
node-version: 18
13+
- name: Install dependencies
14+
run: npm install
15+
- name: Run tests and collect coverage
16+
run: npm run test
17+
- name: Upload coverage to Codecov
18+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)