Skip to content

Commit 4a5346a

Browse files
authored
Merge pull request #99 from preactjs/chore/bump-deps-and-ci-actions
chore: Bump deps and ci action, add editorconfig
2 parents 859566d + 847b99e commit 4a5346a

File tree

4 files changed

+2395
-2785
lines changed

4 files changed

+2395
-2785
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 & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
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
20-
- name: Install playwright dependencies
21-
run: npx playwright install-deps
24+
2225
- name: build
23-
run: npm run prepare
26+
run: npm run build
27+
2428
- name: test
25-
run: |
26-
npm run lint
27-
npm run test:browsers
2829
env:
2930
CI: true
30-
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
31-
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
31+
run: |
32+
npm run lint
33+
npm run test

0 commit comments

Comments
 (0)