Skip to content

Commit 1ddf161

Browse files
fix: global arguments (#601)
1 parent 3525884 commit 1ddf161

7 files changed

+2391
-1616
lines changed

.github/workflows/deployment.yml

+16-24
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,31 @@ name: CI
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
8-
branches:
9-
- main
108

119
jobs:
1210
build:
1311
runs-on: ubuntu-latest
1412

15-
strategy:
16-
matrix:
17-
node-version: [23.5.0]
18-
1913
steps:
20-
- uses: actions/checkout@v2
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
2116

22-
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
24-
with:
25-
node-version: ${{ matrix.node-version }}
26-
cache: 'pnpm'
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 23.5.0
21+
cache: 'npm'
2722

28-
- name: Install dependencies
29-
run: pnpm install
23+
- name: Install dependencies
24+
run: npm ci
3025

31-
# Linting
32-
- name: Run ESLint
33-
run: pnpm exec eslint .
26+
- name: Run linter
27+
run: npm run lint
3428

35-
# Testing
36-
- name: Run tests
37-
run: pnpm test
29+
- name: Run tests
30+
run: npm run test:once
3831

39-
# Building
40-
- name: Build the project
41-
run: pnpm build
32+
- name: Build project
33+
run: npm run build

0 commit comments

Comments
 (0)