From fb2a1841d0dc9ab9b764ca3cfa5f1b4323259e85 Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Sat, 15 Jun 2024 11:48:37 +0200 Subject: [PATCH] test --- .github/workflows/deploy.yaml | 2 +- .github/workflows/test.yaml | 8 +++----- .nvmrc | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 .nvmrc 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