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
30 changes: 17 additions & 13 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: "pnpm/action-setup@v4"
- uses: "actions/setup-node@v6"
- uses: actions/checkout@v7
- uses: jdx/mise-action@v4
- name: Cache pnpm store
uses: actions/cache@v6
with:
node-version-file: ".nvmrc"
cache: "pnpm"
path: ~/.local/share/pnpm/store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-

- name: "Install dependencies"
run: "pnpm install --frozen-lockfile"
Expand All @@ -29,16 +31,18 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: "lint"
if:
"${{ github.ref == 'refs/heads/main' || startsWith(github.ref,
'refs/tags/') }}"
if: >-
${{ github.ref == 'refs/heads/main' || startsWith(github.ref,
'refs/tags/') }}
steps:
- uses: actions/checkout@v5
- uses: "pnpm/action-setup@v4"
- uses: "actions/setup-node@v6"
- uses: actions/checkout@v7
- uses: jdx/mise-action@v4
- name: Cache pnpm store
uses: actions/cache@v6
with:
node-version-file: ".nvmrc"
cache: "pnpm"
path: ~/.local/share/pnpm/store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-

- name: "Install dependencies"
run: "pnpm install --frozen-lockfile"
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
24
69 changes: 69 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[settings]
lockfile = true
idiomatic_version_file_enable_tools = ['node', 'pnpm']
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"version": "0.0.0",
"private": true,
"type": "module",
"engines": {
"node": "^22.0.0"
},
"packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac",
"packageManager": "pnpm@11.18.0",
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev",
Expand Down
8 changes: 5 additions & 3 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
onlyBuiltDependencies:
- esbuild
- workerd
allowBuilds:
esbuild: true
sharp: true
unrs-resolver: true
workerd: true