Skip to content

Commit c7a0080

Browse files
authored
Update pipelines (#238)
1 parent 06c1c29 commit c7a0080

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
name: Check formatting
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout the repository
9+
uses: actions/checkout@v4
10+
11+
- name: Setup Node.js
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version-file: '.nvmrc'
15+
16+
- name: Install dependencies
17+
run: npm ci
18+
19+
- name: build
20+
run: npm run build

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: install
16-
run: npm i --legacy-peer-deps
15+
- name: Install dependencies
16+
run: npm ci
1717

1818
- name: build
1919
run: npm run build

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
node-version-file: '.nvmrc'
1515

1616
- name: Install dependencies
17-
run: npm install
17+
run: npm ci
1818

1919
- name: Check formatting
2020
run: |

0 commit comments

Comments
 (0)