Skip to content

Commit ae1474b

Browse files
author
Your Name
committed
added new ci.yml
1 parent ef4e0c8 commit ae1474b

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name: CI
22

33
on:
4-
  push:
5-
    branches: [main]
6-
  pull_request:
7-
    branches: [main]
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
88

99
jobs:
10-
  build:
11-
    runs-on: ubuntu-latest
10+
build:
11+
runs-on: ubuntu-latest
1212

13-
    steps:
14-
      - uses: actions/checkout@v4
13+
steps:
14+
- uses: actions/checkout@v4
1515

16-
      - name: Set up Node.js
17-
        uses: actions/setup-node@v4
18-
        with:
19-
          node-version: '20'
20-
          cache: npm
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
cache: npm
2121

22-
      - name: Install dependencies
23-
        run: npm ci
22+
- name: Install dependencies
23+
run: npm ci
2424

25-
      - name: Run tests
26-
        run: npm test
25+
- name: Run tests
26+
run: npm test

0 commit comments

Comments
 (0)