diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e3631e..ab27d7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup environment - - uses: actions/setup-node@v3 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8397b2d..d1d21d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Setup .npmrc file for NPM registry if: steps.version_check.outputs.changed == 'true' - - uses: actions/setup-node@v3 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' @@ -50,7 +50,7 @@ jobs: - name: Setup .npmrc file for GitHub Packages if: steps.version_check.outputs.changed == 'true' - - uses: actions/setup-node@v3 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' registry-url: 'https://npm.pkg.github.com' diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..25bf17f --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18 \ No newline at end of file