Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Jan 5, 2024
1 parent 1c9d740 commit 47f3af0
Show file tree
Hide file tree
Showing 31 changed files with 5,579 additions and 10,372 deletions.
5 changes: 5 additions & 0 deletions .changeset/plenty-donkeys-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"htmljs-parser": patch
---

Upgrade dependencies and configs
32 changes: 30 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,40 @@
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"root": true,
"extends": ["eslint:recommended", "prettier"],
"extends": ["eslint:recommended", "plugin:import/recommended", "prettier"],
"parserOptions": {
"sourceType": "module",
"impliedStrict": true
},
"settings": {
"import/resolver": {
"typescript": true
}
},
"env": {
"node": true,
"mocha": true,
"es2020": true
"es2024": true
},
"rules": {
"import/order": [
"error",
{
"groups": [
["builtin"],
["external"],
"internal",
"parent",
"sibling",
"index"
],
"alphabetize": {
"order": "asc",
"orderImportKind": "asc",
"caseInsensitive": true
}
}
]
},
"overrides": [
{
Expand All @@ -17,6 +43,8 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"rules": {
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
types: [opened, synchronize]
push:
branches: [main, next]
branches: [main]

concurrency:
group: "${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}"
Expand All @@ -13,15 +13,17 @@ concurrency:
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Use node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -30,7 +32,7 @@ jobs:
- name: Build Code
run: npm run build
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[ci] format"
commit_user_name: "github-actions[bot]"
Expand All @@ -44,10 +46,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 16, 18]
node: [16, 18, 20]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use node@${{ matrix.node }}
uses: actions/setup-node@v3
with:
Expand All @@ -65,11 +67,11 @@ jobs:
if: "${{ github.repository_owner == 'marko-js' && github.event_name == 'push' }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
Expand Down
Loading

0 comments on commit 47f3af0

Please sign in to comment.