diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b3618e5..e337bdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Set Node.js uses: actions/setup-node@v3 with: - node-version: 12.x + node-version: 16.x - name: Set up Go uses: actions/setup-go@v2 diff --git a/action.yml b/action.yml index 5a5811e..5fe7315 100644 --- a/action.yml +++ b/action.yml @@ -41,7 +41,7 @@ inputs: default: false runs: - using: 'node12' + using: 'node16' main: 'lib/main.js' branding: diff --git a/tsconfig.json b/tsconfig.json index 55bcc72..b60f35c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { /* Basic Options */ // "incremental": true, /* Enable incremental compilation */ - "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'. */ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */