From ea9df268766bd6c1ed822666227ea92c0ba6e56a Mon Sep 17 00:00:00 2001 From: Alex Sanders Date: Fri, 5 Mar 2021 16:25:59 +0000 Subject: [PATCH 1/2] use guardian/actions-setup-node --- .github/workflows/CI.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7fd2b23..0e6e9a8 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.4 - with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + uses: guardian/actions-setup-node - name: Install dependencies uses: bahmutov/npm-install@v1 From f4f2ce64c70edaceee010d8aa97d4eae4fa38c72 Mon Sep 17 00:00:00 2001 From: Alex Sanders Date: Fri, 5 Mar 2021 21:54:13 +0000 Subject: [PATCH 2/2] oops --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0e6e9a8..5c05e06 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v2 - name: Setup node - uses: guardian/actions-setup-node + uses: guardian/actions-setup-node@main - name: Install dependencies uses: bahmutov/npm-install@v1