diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 0b3e501..e4d5a59 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12.x + node-version: 16.x cache: npm - name: install dependencies run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0356248..d5e1917 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12.x + node-version: 16.x cache: npm - name: install dependencies run: | @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12.x + node-version: 16.x cache: npm - name: install dependencies run: | diff --git a/action.yml b/action.yml index bd5ef50..0d640dd 100644 --- a/action.yml +++ b/action.yml @@ -53,7 +53,7 @@ outputs: upload_url: description: "The URL for uploading assets to the release" runs: - using: "node12" + using: "node16" main: "dist/create/index.js" post: "dist/publish/index.js" branding: diff --git a/tsconfig.json b/tsconfig.json index 5bed14f..1d00985 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ + "target": "es2021", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "outDir": "./lib", /* Redirect output structure to the directory. */ "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */