Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Commit

Permalink
use guardian/actions-setup-node
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Mar 5, 2021
1 parent bd66bdf commit ea9df26
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
uses: guardian/actions-setup-node

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down

0 comments on commit ea9df26

Please sign in to comment.