Skip to content

Commit a297c5e

Browse files
committed
chore: misc toolchain upgrades
1 parent 1aa87fb commit a297c5e

File tree

80 files changed

+5243
-16381
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+5243
-16381
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "marko-js/writable-dom"
7+
}
8+
],
9+
"commit": false,
10+
"fixed": [],
11+
"linked": [],
12+
"access": "public",
13+
"baseBranch": "main",
14+
"updateInternalDependencies": "patch",
15+
"ignore": []
16+
}

.changeset/red-ghosts-complain.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"writable-dom": patch
3+
---
4+
5+
Fixes an issue where an inline host node
6+
would remain empty if it was the last node in
7+
the tree and a blocking node was encountered.

.commitlintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

.fixpackrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 61 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,80 @@ name: CI
22

33
on:
44
pull_request:
5-
paths-ignore: ["**.md"]
5+
types: [opened, synchronize]
66
push:
7-
branches: ["main"]
8-
paths-ignore: ["**.md"]
7+
branches: [main]
8+
9+
concurrency:
10+
group: "${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}"
11+
cancel-in-progress: true
912

1013
jobs:
1114
build:
1215
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
with:
20+
ref: ${{ github.head_ref }}
21+
- name: Use node
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: npm
26+
- name: Install dependencies
27+
run: npm ci
28+
- name: Build
29+
run: npm run @ci:build
30+
- name: Lint Code
31+
run: npm run @ci:lint
32+
test:
33+
runs-on: ubuntu-latest
34+
name: "test: node@${{ matrix.node }}"
1335
strategy:
36+
fail-fast: false
1437
matrix:
15-
node: [14.x, 16.x]
38+
node: [18, 20]
1639
steps:
1740
- name: Checkout code
18-
uses: actions/checkout@v2
41+
uses: actions/checkout@v4
1942
- name: Use node@${{ matrix.node }}
20-
uses: actions/setup-node@v2
43+
uses: actions/setup-node@v4
2144
with:
2245
node-version: ${{ matrix.node }}
23-
cache: "npm"
46+
cache: npm
2447
- name: Install dependencies
2548
run: npm ci
26-
- name: Lint code
27-
run: npm run lint
28-
- name: Install Playwright
29-
run: npx playwright install-deps chromium
49+
- name: Install Playwright Browsers
50+
run: npx playwright install --with-deps chromium
3051
- name: Run tests
31-
run: npm run ci:test
52+
run: npm run @ci:test
3253
- name: Report code coverage
33-
run: npm run ci:report
54+
uses: codecov/codecov-action@v4
55+
with:
56+
token: ${{ secrets.CODECOV_TOKEN }}
57+
release:
58+
runs-on: ubuntu-latest
59+
needs: [build, test]
60+
if: "${{ github.repository_owner == 'marko-js' && github.event_name == 'push' }}"
61+
steps:
62+
- name: Checkout code
63+
uses: actions/checkout@v4
64+
- name: Setup node
65+
uses: actions/setup-node@v4
66+
with:
67+
node-version: 20
68+
cache: npm
69+
- name: Install dependencies
70+
run: npm ci
71+
- name: Release
72+
id: changesets
73+
uses: changesets/action@v1
74+
with:
75+
version: npm run @ci:version
76+
publish: npm run @ci:release
77+
commit: "[ci] release"
78+
title: "[ci] release"
79+
env:
80+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)