Skip to content

Commit 19ae348

Browse files
committed
CI
1 parent 4a5796a commit 19ae348

File tree

3 files changed

+47
-1
lines changed

3 files changed

+47
-1
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Main CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Use Node.js 20.x
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20.x
22+
cache: yarn
23+
24+
- name: Install
25+
run: yarn install
26+
27+
- name: Linter
28+
run: yarn lint
29+
30+
- name: Test
31+
run: yarn test
32+
33+
- name: Build
34+
run: yarn build

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"start": "vite",
99
"build": "vite build --mode production",
1010
"preview": "vite preview",
11-
"lint": "eslint . --ext ts,tsx --ignore-path .gitignore"
11+
"lint": "eslint . --ext ts,tsx --ignore-path .gitignore",
12+
"test": "echo \"TODO\""
1213
},
1314
"dependencies": {
1415
"@micro-lc/back-kit-engine": "^1.0.18",

0 commit comments

Comments
 (0)