Skip to content

Commit 4d289e3

Browse files
committed
👷 add ci
1 parent 0ce6bd2 commit 4d289e3

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Build, lint, and test on Node
6+
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
12+
13+
- name: Use Node
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: "20.x"
17+
cache: "yarn"
18+
19+
- name: Install Dependencies
20+
run: yarn
21+
22+
- name: Lint
23+
run: yarn lint
24+
25+
- name: Build
26+
run: yarn build
27+

0 commit comments

Comments
 (0)