-
-
Notifications
You must be signed in to change notification settings - Fork 1
executable file
·61 lines (48 loc) · 1.23 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: ci
on:
push:
branches:
- main
paths:
- src
- test
- package.json
- .github/workflows/ci.yml
jobs:
test:
runs-on: ubuntu-24.04
name: Test on Node 22
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Deno Setup
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Install Playwright
run: pnpm exec playwright install
- name: Lint
run: pnpm lint
- name: Build JS
run: pnpm build
- name: Build CSS
run: pnpm compile-scss
- name: Copy Assets
run: pnpm copy
- name: Clean coverage
run: pnpm clean-coverage
- name: Run tests
run: pnpm test
- name: Upload coverage report on to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}