-
-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (30 loc) · 871 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: ci
on: push
jobs:
test:
runs-on: ubuntu-20.04
name: Test on Node 20
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Install pnpm
# uses: pnpm/action-setup@v3
- name: Install Cypress
run: npx cypress install
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
# cache: pnpm
- run: npm install
- run: npm run check:ts
- run: npm run lint:ts
- run: npm run lint:css
- run: npm run build-vite
- run: npm run compile-scss
- run: npm run clean-coverage
- run: npx cypress run
- name: Upload coverage report on Node 20 to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}