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

Commit

Permalink
Merge pull request #95 from guardian/actions-setup-node
Browse files Browse the repository at this point in the history
use guardian/actions-setup-node
  • Loading branch information
sndrs committed Mar 6, 2021
2 parents 52b6081 + f4f2ce6 commit 9b9c152
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.5
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
uses: guardian/actions-setup-node@main

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

0 comments on commit 9b9c152

Please sign in to comment.