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
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
cache: "npm"

- run: npm ci
- run: npm run cf-typegen
- run: npm run typecheck
- run: npm run lint
- run: npm run format:check
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: production
wranglerVersion: "4.14.1"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
.wrangler/
coverage/
worker-configuration.d.ts
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CI](https://github.com/zigtools/release-worker/workflows/CI/badge.svg)](https://github.com/zigtools/release-worker/actions)
[![CI](https://github.com/zigtools/release-worker/actions/workflows/main.yml/badge.svg)](https://github.com/zigtools/release-worker/actions/workflows/main.yml)
[![codecov](https://codecov.io/gh/zigtools/release-worker/graph/badge.svg?token=A3YHEUHMT2)](https://codecov.io/gh/zigtools/release-worker)

A Cloudflare Worker for managing ZLS build artifacts.
Expand Down Expand Up @@ -482,6 +482,7 @@ Artifacts that target windows must be `.zip` files. All other non windows target
git clone https://github.com/zigtools/release-worker
cd release-worker
npm install
npm run cf-typegen
npx wrangler d1 execute staging-db-backend --local --file=./migrations/0000_initial.sql
npm run dev
```
Expand Down
16 changes: 11 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import eslint from "@eslint/js";
import { defineConfig } from "eslint/config";
import tseslint from "typescript-eslint";

export default tseslint.config(
export default defineConfig(
eslint.configs.recommended,
...tseslint.configs.stylisticTypeChecked,
...tseslint.configs.strictTypeChecked,
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
{
rules: {
"no-shadow": "off",
Expand All @@ -23,11 +24,16 @@ export default tseslint.config(
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
ignores: ["**/*.js", "**/*.mjs", "vitest.config.mts"],
ignores: [
"**/*.js",
"**/*.mjs",
"vitest.config.mts",
"worker-configuration.d.ts",
"test/**/*.ts", // TODO
],
},
);
Loading
Loading