Skip to content

Commit

Permalink
Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkChan0225 committed Jul 19, 2024
1 parent aad5c2b commit f0cd76d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Lint

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2
steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v2
with:
version: latest
- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install Node.js dependencies
run: pnpm install
- name: Install Node.js dependencies
run: pnpm install

- name: Run linters
run: pnpm run lint
- name: Run linters
run: pnpm run lint
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: latest
version: 9

- name: Install Node.js dependencies
run: pnpm install
Expand All @@ -34,4 +34,4 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: "RoundedDiscord.theme.css, bundle/*"
makeLatest: true
makeLatest: true
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"name": "RoundedDiscord",
"version": "1.1.1",
"description": "A theme which make your discord round.",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.0.0"
},
"scripts": {
"build": "replugged build theme",
"watch": "replugged build theme --watch",
"bundle": "replugged bundle theme",
"release": "replugged release",
"lint": "prettier ./src --check",
"lint:fix": "prettier ./src --write"
},
Expand Down

0 comments on commit f0cd76d

Please sign in to comment.