diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab0a4db3..9b72d77d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [16] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 208f4253..3e902061 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + + - name: Setup Node.js 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: 12 + node-version: "${{ env.NODE_VER }}" + - name: Install dependencies run: npm ci - name: Test diff --git a/.nvmrc b/.nvmrc index 14a739e1..ad2bfdac 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1,2 +1,2 @@ -12.10.0 +16.14.2