From 1e6f2cd3121764f4065a4f231bbc7222d7ffc0a4 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 8 Sep 2022 13:12:30 -0700 Subject: [PATCH] test: add volta e2e test --- .github/workflows/versions.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 9422a111..f8b46b6e 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -102,6 +102,25 @@ jobs: - name: Verify node run: __tests__/verify-node.sh 14 + version-file-volta: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] + steps: + - uses: actions/checkout@v3 + - name: Remove engines from package.json + shell: bash + run: | + jq 'del(.engines)' ./__tests__/data/package.json | sponge ./__tests__/data/package.json + - name: Setup node from node version file + uses: ./ + with: + node-version-file: '__tests__/data/package.json' + - name: Verify node + run: __tests__/verify-node.sh 14 + node-dist: runs-on: ${{ matrix.os }} strategy: