Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,24 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4.2.0
with:
run_install: false

- name: Setup Node.js
uses: actions/setup-node@v6.0.0
with:
node-version-file: "package.json"
cache: 'npm'
node-version-file: 'package.json'
cache: 'pnpm'

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Run type checking
run: npm run type-check
run: pnpm type-check

- name: Build userscripts
run: npm run build
run: pnpm build

- name: Checkout dist branch
run: |
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4.2.0
with:
run_install: false
- uses: actions/setup-node@v6.0.0
with:
node-version-file: "package.json"
cache: 'npm'
node-version-file: 'package.json'
cache: 'pnpm'
- name: 'Install dependencies'
run: npm install
run: pnpm install --frozen-lockfile
- name: 'Run type checking'
run: npm run type-check
run: pnpm type-check
- name: 'Run linter'
run: npm run lint
run: pnpm lint
- name: 'Build userscripts'
run: npm run build
run: pnpm build
auto-merge:
name: 'dependabot-auto-merge'
needs: linter
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
.idea/
*.iml

# NPM
node_modules/

# Build output
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
package-lock.json
pnpm-lock.yaml
Loading
Loading