From 7e888e59a1deb3b1d28ca64d29597937ff7b5449 Mon Sep 17 00:00:00 2001 From: Kanahiro Date: Sat, 10 Aug 2024 13:24:28 +0900 Subject: [PATCH] fix --- .github/workflows/publish.yml | 11 ++++++----- tsconfig.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c82c08..5c11cbe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,9 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: npm install - - uses: lannonbr/vsce-action@3.0.0 + - uses: actions/setup-node@v1 with: - args: 'publish -p $AZURE_ACCESS_TOKEN' - env: - AZURE_ACCESS_TOKEN: ${{ secrets.AZURE_ACCESS_TOKEN }} + node-version: '20' + - run: npm install + - run: npm install -g @vscode/vsce + - run: vsce package + - run: vsce publish -p ${{ secrets.VSCODE_TOKEN }} diff --git a/tsconfig.json b/tsconfig.json index 224fc26..1874ca0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "module": "Node16", + "module": "CommonJS", "target": "ES2022", "lib": ["ES2022"], "sourceMap": true,