Loading .github/workflows/workflow.yml −2 Changes for .github/workflows/workflow.yml: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,11 +32,9 @@ jobs: - run: npm ci - name: Prettier Format Check if: matrix.os == 'ubuntu-latest' run: npm run format-check - name: ESLint Check if: matrix.os == 'ubuntu-latest' run: npm run lint - name: Build & Test Loading package.json +3 −3 Changes for package.json: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -7,9 +7,9 @@ "scripts": { "build": "tsc", "test": "tsc --noEmit && jest --coverage", "lint": "eslint '**/*.ts' --cache", "format": "prettier --write '**/*.ts'", "format-check": "prettier --check '**/*.ts'", "lint": "eslint **/*.ts --cache", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", "release": "ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && git add -f dist/" }, "repository": { Loading src/constants.ts +9 −10 Changes for src/constants.ts: 9 added lines, 10 removed lines. Original line number Diff line number Diff line /* eslint-disable @typescript-eslint/no-namespace */ export namespace Inputs { export const Key = "key"; export const Path = "path"; export const RestoreKeys = "restore-keys"; export enum Inputs { Key = "key", Path = "path", RestoreKeys = "restore-keys" } export namespace Outputs { export const CacheHit = "cache-hit"; export enum Outputs { CacheHit = "cache-hit" } export namespace State { export const CacheKey = "CACHE_KEY"; export const CacheResult = "CACHE_RESULT"; export enum State { CacheKey = "CACHE_KEY", CacheResult = "CACHE_RESULT" } Loading
.github/workflows/workflow.yml −2 Changes for .github/workflows/workflow.yml: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,11 +32,9 @@ jobs: - run: npm ci - name: Prettier Format Check if: matrix.os == 'ubuntu-latest' run: npm run format-check - name: ESLint Check if: matrix.os == 'ubuntu-latest' run: npm run lint - name: Build & Test Loading
package.json +3 −3 Changes for package.json: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -7,9 +7,9 @@ "scripts": { "build": "tsc", "test": "tsc --noEmit && jest --coverage", "lint": "eslint '**/*.ts' --cache", "format": "prettier --write '**/*.ts'", "format-check": "prettier --check '**/*.ts'", "lint": "eslint **/*.ts --cache", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", "release": "ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && git add -f dist/" }, "repository": { Loading
src/constants.ts +9 −10 Changes for src/constants.ts: 9 added lines, 10 removed lines. Original line number Diff line number Diff line /* eslint-disable @typescript-eslint/no-namespace */ export namespace Inputs { export const Key = "key"; export const Path = "path"; export const RestoreKeys = "restore-keys"; export enum Inputs { Key = "key", Path = "path", RestoreKeys = "restore-keys" } export namespace Outputs { export const CacheHit = "cache-hit"; export enum Outputs { CacheHit = "cache-hit" } export namespace State { export const CacheKey = "CACHE_KEY"; export const CacheResult = "CACHE_RESULT"; export enum State { CacheKey = "CACHE_KEY", CacheResult = "CACHE_RESULT" }