diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f2ec5f0..5c05e06 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,15 +9,8 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - # based on https://github.com/actions/setup-node/issues/32#issuecomment-539794249 - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Setup node - uses: actions/setup-node@v2.1.5 - with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + uses: guardian/actions-setup-node@main - name: Install dependencies uses: bahmutov/npm-install@v1