From d63f8f72473ccbd105ee78e10720169ceeae64ae Mon Sep 17 00:00:00 2001 From: Kevin Yu Date: Mon, 23 Oct 2023 11:17:33 -0700 Subject: [PATCH] fix workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 ++-- .nvmrc | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .nvmrc 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