Skip to content

Commit 1d19e04

Browse files
committed
chore: Bump deps and ci action, add editorconfig
1 parent 859566d commit 1d19e04

File tree

4 files changed

+2419
-2756
lines changed

4 files changed

+2419
-2756
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[{*.yml}]
11+
indent_style = space
12+
indent_size = 2

.github/workflows/ci.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
11
name: CI
2+
23
on:
34
push:
45
branches:
56
- master
67
pull_request:
7-
types: [opened, synchronize, reopened, ready_for_review]
8+
branches:
9+
- '**'
810

911
jobs:
1012
test:
13+
name: Test
1114
runs-on: ubuntu-latest
1215
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
1518
with:
16-
node-version: 18.x
19+
node-version: 22
1720
cache: npm
21+
1822
- name: Install NPM dependencies
1923
run: npm ci
24+
2025
- name: Install playwright dependencies
2126
run: npx playwright install-deps
27+
2228
- name: build
23-
run: npm run prepare
29+
run: npm run build
30+
2431
- name: test
32+
env:
33+
CI: true
2534
run: |
2635
npm run lint
2736
npm run test:browsers
28-
env:
29-
CI: true
30-
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
31-
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}

0 commit comments

Comments
 (0)