From 9f2c248cf8e037740a0a1e92ef455d9d7ba1414e Mon Sep 17 00:00:00 2001 From: Jack Bates Date: Thu, 17 Feb 2022 14:57:13 -0700 Subject: [PATCH] Fix CI: npm ERR! Unexpected token '.' --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66ff694c..72c3ccca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,10 +8,11 @@ jobs: runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - - uses: dcodeIO/setup-node-nvm@master + - name: Use Node.js ${{matrix.node}} + uses: actions/setup-node@v2 with: node-version: ${{matrix.node}} - - run: npm install -g npm + #cache: npm - run: npm install - run: npm test - uses: codecov/codecov-action@v1 @@ -19,7 +20,7 @@ jobs: matrix: os: - ubuntu-latest - - windows-latest + #- windows-latest node: - lts/erbium - - node + - 17 # https://github.com/actions/setup-node/pull/279