diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6578c26..06419fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: check-latest: true - name: Cache node_modules 📦 - uses: actions/cache@v2.1.4 + uses: actions/cache@v4.0.2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/pages/v2/diff.vue b/pages/v2/diff.vue index 2e4875e..7708741 100644 --- a/pages/v2/diff.vue +++ b/pages/v2/diff.vue @@ -4,8 +4,45 @@
+
+

+ {{ lhsLabel }} +

+

+ {{ rhsLabel }} +

+
{ if (monacoDiffViewerEl) { this.monacoDiffEditor = monaco.editor.createDiffEditor( @@ -62,7 +102,7 @@ export default Vue.extend({ ...monacoEditorOptions, readOnly: true, wordWrap: 'on', - diffAlgorithm: 'advanced' + diffAlgorithm: 'advanced', } ) as any if (this.monacoDiffEditor) {