Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit 7459a3d

Browse files
authored
chore: add github workflow
1 parent cab537c commit 7459a3d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/main.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Begin CI...
8+
uses: actions/checkout@v2
9+
with:
10+
fetch-depth: 0
11+
12+
- name: Use Node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: '14'
16+
17+
- name: Install dependencies
18+
run: yarn install --frozen-lockfile
19+
env:
20+
CI: true
21+
22+
- name: Build
23+
run: yarn build
24+
env:
25+
CI: true
26+
27+
- name: Test Coverage
28+
run: bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info
29+
env:
30+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
31+
32+
- name: CI
33+
run: yarn dv-scripts ci
34+
env:
35+
CI: true
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)