diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ec705f5..5236cd4 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .nvmrc - run: npm --color install - name: Publish to Open VSX Registry id: publishToOpenVSX diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 453d3ab..0fba0f1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,13 +17,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .nvmrc - run: npm --color install # - run: npm --color run test:meta - run: npm --color run compile - # - run: xvfb-run -a npm --color run test:ci - # - run: npm --color run test:ci - - run: xvfb-run -a pnpm --color test + - run: xvfb-run -a npm --color test if: runner.os == 'Linux' - - run: pnpm --color test + - run: npm --color test if: runner.os != 'Linux' diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..020fc41 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.12.1