diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6dd04d45..8edd2b46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,12 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Setup Nodejs Env + run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: 16 + node-version: ${{ env.NODE_VER }} - name: Install dependencies run: npm ci - name: Release diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..7950a445 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18.17.0