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
40 changes: 13 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# This workflow will do a clean install of node dependencies and build the source code on Node 24
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Install and Build
name: Install and Build

on:
push:
branches: [ main ]
branches: [ master ]
pull_request:
branches: [ main ]
branches: [ master ]

permissions:
contents: read
Expand All @@ -17,28 +14,17 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v5
with:
version: 10
cache: true
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, prettier, typescript]


bun-version: 1.3.13
- name: Install dependencies
run: bun ci
- name: Typecheck
run: bun run typecheck
- name: Test
run: bun test
- name: Build project
run: pnpm build
run: bun run build:all
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: QA / Lint (Biome)

on:
push:

permissions:
contents: read
pull_request:

jobs:
quality:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/checkout@v5
with:
node-version: 24.x
persist-credentials: false
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci src/
run: biome ci src/ entrypoints/
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ yarn-error.log*
out/
build/
dist/
.output/

# plasmo - https://www.plasmo.com
.plasmo
.wxt

# bpp - https://github.com/PlasmoHQ/bpp
keys.json
Expand All @@ -43,4 +45,4 @@ tsconfig.tsbuildinfo
# page specific data
src/lib/handlers/selectors/*.ts
src/lib/handlers/historyhandler.ts
src/lib/handlers/history/*.ts
src/lib/handlers/history/*.ts
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["TypeScriptTeam.native-preview"]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"js/ts.tsdk.path": "./node_modules/typescript/lib",
"js/ts.experimental.useTsgo": true,
"js/ts.tsdk.path": "./node_modules/typescript",
"files.eol": "\n",
"json.schemas": [
{
Expand Down
12 changes: 6 additions & 6 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"command": "pnpm",
"command": "bun",
"tasks": [
{
"label": "install",
"type": "shell",
"command": "pnpm",
"command": "bun",
"args": ["install"]
},
{
"label": "update",
"type": "shell",
"command": "pnpm",
"command": "bun",
"args": ["update"]
},
{
"label": "build",
"type": "shell",
"group": "build",
"command": "pnpm",
"args": ["dev"]
"command": "bun",
"args": ["run", "dev"]
}
]
}
}
Loading