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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches: [main]

permissions:
contents: read

jobs:
build-and-lint:
name: Build and Lint
Expand All @@ -21,7 +24,7 @@ jobs:
node-version: '24'

- name: Setup pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 10

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
node-version: '24'

- name: Setup pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 10

Expand Down
3 changes: 2 additions & 1 deletion scripts/fetch-definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export async function fetchDefinitions(url = DEFAULT_URL) {
// Ensure the directory exists
await mkdir(dirname(OUTPUT_PATH), { recursive: true });

// Write the file
// OUTPUT_PATH is hardcoded via import.meta.url; HTTP response cannot influence the write location.
// lgtm[js/http-to-file-access]
await writeFile(OUTPUT_PATH, content, 'utf8');

console.log(`Successfully saved LSL definitions to: ${OUTPUT_PATH}`);
Expand Down
Loading