From f274692c30a49f650364fac4b14ddb175e1b0697 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 4 May 2024 16:35:44 -0400 Subject: [PATCH] chore: update CI --- .github/workflows/ci.yml | 4 ++-- LICENSE | 2 +- dprint.json | 6 +++--- mod.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a228b1..e619816 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/') id: get_tag_version run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//} - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' - name: npm build run: deno task build:npm ${{steps.get_tag_version.outputs.TAG_VERSION}} diff --git a/LICENSE b/LICENSE index 995e7ea..9abce8d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020-2023 David Sherret +Copyright (c) 2020 David Sherret Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/dprint.json b/dprint.json index 74dd9f2..4564079 100644 --- a/dprint.json +++ b/dprint.json @@ -4,8 +4,8 @@ "**/*-lock.json" ], "plugins": [ - "https://plugins.dprint.dev/typescript-0.88.7.wasm", - "https://plugins.dprint.dev/json-0.19.1.wasm", - "https://plugins.dprint.dev/markdown-0.16.3.wasm" + "https://plugins.dprint.dev/typescript-0.90.4.wasm", + "https://plugins.dprint.dev/json-0.19.2.wasm", + "https://plugins.dprint.dev/markdown-0.17.0.wasm" ] } diff --git a/mod.ts b/mod.ts index 446240b..ce52db8 100644 --- a/mod.ts +++ b/mod.ts @@ -149,7 +149,7 @@ export function createHost(): Host { ); return fileText === formattedText ? 0 : 1; } catch (error) { - errorText = error; + errorText = String(error); return 2; } },