mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
[ci] format
This commit is contained in:
parent
3bde4aa751
commit
f64934086e
3 changed files with 4 additions and 4 deletions
4
.github/scripts/announce.mjs
vendored
4
.github/scripts/announce.mjs
vendored
|
@ -1,6 +1,6 @@
|
||||||
import { globby as glob } from 'globby';
|
|
||||||
import { fileURLToPath } from 'node:url';
|
|
||||||
import { readFile } from 'node:fs/promises';
|
import { readFile } from 'node:fs/promises';
|
||||||
|
import { fileURLToPath } from 'node:url';
|
||||||
|
import { globby as glob } from 'globby';
|
||||||
import { setOutput } from './utils.mjs';
|
import { setOutput } from './utils.mjs';
|
||||||
|
|
||||||
const { GITHUB_REF = 'main' } = process.env;
|
const { GITHUB_REF = 'main' } = process.env;
|
||||||
|
|
2
.github/scripts/bundle-size.mjs
vendored
2
.github/scripts/bundle-size.mjs
vendored
|
@ -1,5 +1,5 @@
|
||||||
import { build } from 'esbuild';
|
|
||||||
import { existsSync } from 'node:fs';
|
import { existsSync } from 'node:fs';
|
||||||
|
import { build } from 'esbuild';
|
||||||
|
|
||||||
const CLIENT_RUNTIME_PATH = 'packages/astro/src/runtime/client/';
|
const CLIENT_RUNTIME_PATH = 'packages/astro/src/runtime/client/';
|
||||||
|
|
||||||
|
|
2
.github/scripts/utils.mjs
vendored
2
.github/scripts/utils.mjs
vendored
|
@ -1,6 +1,6 @@
|
||||||
|
import * as crypto from 'node:crypto';
|
||||||
import * as fs from 'node:fs';
|
import * as fs from 'node:fs';
|
||||||
import * as os from 'node:os';
|
import * as os from 'node:os';
|
||||||
import * as crypto from 'node:crypto';
|
|
||||||
|
|
||||||
/** Based on https://github.com/actions/toolkit/blob/4e3b068ce116d28cb840033c02f912100b4592b0/packages/core/src/file-command.ts */
|
/** Based on https://github.com/actions/toolkit/blob/4e3b068ce116d28cb840033c02f912100b4592b0/packages/core/src/file-command.ts */
|
||||||
export function setOutput(key, value) {
|
export function setOutput(key, value) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue