diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3c952a4..bb01d56 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,12 +12,17 @@ jobs: with: submodules: recursive fetch-depth: 0 + - name: Setup pnpm + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: 'pnpm' - name: Get pnpm store directory shell: bash run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - name: Setup pnpm - run: corepack enable # - name: Get pnpm store directory # shell: bash # run: | 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