diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index ab5b264..241f2c4 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -23,10 +23,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set Node.js 16.x + - name: Set Node.js uses: actions/setup-node@v4.0.2 with: - node-version: 16.x + node-version-file: '.nvmrc' - name: Install dependencies run: npm ci diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..93a75dd --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +v20.14.0 \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..93a75dd --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.14.0 \ No newline at end of file diff --git a/action.yml b/action.yml index 6445d89..81aea3a 100644 --- a/action.yml +++ b/action.yml @@ -15,5 +15,5 @@ inputs: required: false runs: - using: 'node16' + using: 'node20' main: 'dist/index.js'