Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed May 25, 2024
1 parent d6d580d commit 972d322
Show file tree
Hide file tree
Showing 8 changed files with 2,468 additions and 2,256 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
labels:
- "dependencies"
- "npm"
Expand All @@ -23,12 +23,12 @@ updates:
- dependency-name: "*"
update-types:
- "version-update:semver-patch"
- "version-update:semver-minor"
# - "version-update:semver-minor"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
labels:
- "dependencies"
- "github_actions"
Expand Down
26 changes: 0 additions & 26 deletions .github/labeler.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request_target:
paths:
- "package.json"
- "pnpm-lock.yaml"
- ".github/workflows/*.yml"

permissions:
pull-requests: write
Expand All @@ -12,8 +14,11 @@ permissions:
jobs:
merge:
runs-on: ubuntu-latest
timeout-minutes: 5
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}

permissions:
pull-requests: write
contents: write
steps:
- name: Dependabot metadata
id: dependabot-metadata
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches:
- "main"
paths:
- "**.jsx?"
- "**.tsx?"
- "lib/**"
- "test/**"
- ".github/workflows/ci.yml"
pull_request:
paths:
- "**.jsx?"
- "**.tsx?"
- "lib/**"
- "test/**"
- ".github/workflows/ci.yml"

permissions:
contents: read

env:
default_node_version: "lts/*"

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
name: Install pnpm

- uses: actions/setup-node@v4
with:
node-version: ${{ env.default_node_version }}
architecture: x64
cache: "pnpm"

- name: Install Dependencies
run: pnpm i

- name: Lint
run: |
pnpm run lint
12 changes: 0 additions & 12 deletions .github/workflows/labeler.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/lint.yml

This file was deleted.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
"dev": "web-ext run --devtools=true",
"lint": "eslint .",
"lint:ext": "web-ext lint",
"run": "web-ext run ",
"sign": "web-ext sign "
},
"devDependencies": {
"cheerio": "1.0.0-rc.12",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"web-ext": "^7.8.0"
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"web-ext": "^7.11.0"
},
"packageManager": "pnpm@8"
"packageManager": "pnpm@9.1.2+sha1.907f57a52517de34399d66401bf220a549e47b57"
}
Loading

0 comments on commit 972d322

Please sign in to comment.