Skip to content

Commit 7983055

Browse files
committed
remove all check expect the env check
1 parent 36c1b53 commit 7983055

1 file changed

Lines changed: 0 additions & 70 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -29,73 +29,3 @@ jobs:
2929
else
3030
echo "No tracked .env* files found."
3131
fi
32-
33-
lint:
34-
name: ESLint
35-
runs-on: ubuntu-latest
36-
needs: env_check
37-
steps:
38-
- uses: actions/checkout@v4
39-
- name: Set up Node.js
40-
uses: actions/setup-node@v4
41-
with:
42-
node-version: '20'
43-
cache: 'yarn'
44-
- name: Install dependencies
45-
run: yarn install --frozen-lockfile
46-
- name: Run linter
47-
run: yarn lint
48-
49-
typecheck:
50-
name: TypeScript Check
51-
runs-on: ubuntu-latest
52-
needs: env_check
53-
steps:
54-
- uses: actions/checkout@v4
55-
- name: Set up Node.js
56-
uses: actions/setup-node@v4
57-
with:
58-
node-version: '20'
59-
cache: 'yarn'
60-
- name: Install dependencies
61-
run: yarn install --frozen-lockfile
62-
- name: Run type check
63-
run: yarn typecheck
64-
65-
build:
66-
name: Build Check
67-
runs-on: ubuntu-latest
68-
needs: [lint, typecheck]
69-
steps:
70-
- uses: actions/checkout@v4
71-
- name: Set up Node.js
72-
uses: actions/setup-node@v4
73-
with:
74-
node-version: '20'
75-
cache: 'yarn'
76-
- name: Install dependencies
77-
run: yarn install --frozen-lockfile
78-
- name: Run build
79-
run: yarn build
80-
81-
tests:
82-
name: Unit Tests
83-
runs-on: ubuntu-latest
84-
needs: build
85-
steps:
86-
- uses: actions/checkout@v4
87-
- name: Set up Node.js
88-
uses: actions/setup-node@v4
89-
with:
90-
node-version: '20'
91-
cache: 'yarn'
92-
- name: Install dependencies
93-
run: yarn install --frozen-lockfile
94-
- name: Run tests (skip if no script)
95-
shell: bash
96-
run: |
97-
if node -e "const p=require('./package.json'); process.exit(p?.scripts?.test?0:1)"; then
98-
yarn test
99-
else
100-
echo 'No "test" script. Skipping.'
101-
fi

0 commit comments

Comments
 (0)